0 - 2 of 2 tags for spl

When creating Stored Procedures, we’d like to be able to ‘logically abnormally terminate’ the Proc. - i.e. we do a query to a table and if a ‘logical’ condition exists (not an error – e.g.

I connect to Teradata using ODBC and I would like to create very simple stored procedure. When I call SQLPrepare I receive error "[Teradata][ODBC Teradata Driver][Teradata Database] Syntax error: Invalid SQL Statement.", but when I call the same CREATE PROCEDURE... statement using SQLExecDirect then it works.