Trying to debug a Snowflake task which calls a SP and the task_history view under information_schema shows state as failed, error_code 000612 and error_description "Result not found". I tried searching for documentation around these error codes but didn't find anything. What does one interprets these codes/description?
Related
I got an error "Error - 390410: GsInstance with ID 222673 not in fdb" when trying to run a "CREATE OR REPLACE" command.
I guess that was a temporary issue because this hasn't occurred again, but what does this error mean? Did someone encounter this error and can please help me understand this?
Thanks!
I'd strongly recommend opening a support ticket if your queries are failing and error messages look like "Error - 390410: GsInstance with ID 222673 not in fdb", the ticket should include the Snowflake URL, the queryID of the command, etc... The more info you give support the more easily they can address the issue.
Getting your query_id can be done using either of the following:
via SQL commands:
https://docs.snowflake.com/en/sql-reference/functions/query_history.html
via the webUI:
https://docs.snowflake.com/en/user-guide/ui-history.html
I hope this helps...Rich
Executed a copy command using stage and also direct S3 location in snowflake with ON_ERROR = CONTINUE;
and then used select * from table(validate(test, job_id=>'_last')); to track the error records however i received the following error after execution the validate command "Failure using stage area. Cause: [The AWS Access Key Id you provided is not valid.]"
Could someone please help with error.
Thanks
Retried the same with new setup and its working fine.
I am getting an error when running a basic query and I cannot understand why.
It seems to be caused when comments are run by themselves.
Below are two query examples. The first gives no error, the second does.
Query 1:
print 'test'
-- test
Result 1:
test
Query 2:
print 'test'
go
-- test
Result 2:
test
An error occurred while executing batch. Error message is: ExecuteReader: CommandText property has not been initialized
My question is, why are comments returning this error and how can I fix this?
I found what causing the problem.
Issue was being caused because I was connected using "Additional Connection Parameters"
Column Encryption Setting = Enabled
This was also causing strange errors like repeated print messages.
When I removed this setting everything went back to normal.
I am trying to call Liquibase Stored Procedure Through Tag
it gives me error as sql code
DB2 SQL Error: SQLCODE=-440, SQLSTATE=42884
I Am Tring to call as follows : :
<sql> CALL TestProcedure('abc','xyz') </sql>
it executed well from outside command line Client and not using liquibase
i also tried calling using schema name no luck Open to suggestions
SQL440N is routine not found. The error message should give the text of the rountine name. Does it match what you have in your database. Is is a case sensitive problem? (i.e. try in upper case?)
SQL0440N No authorized routine named "<routine-name>" of type
"<routine-type>" having compatible arguments was found.
I wanted to user RAISERROR in my SQL-Server codes but I noticed that some status code have interruption with built-in SQL Error statuses...
for example status code "1" is used for "Devide By Zero Error", And I dont wanna use it any more...
now I want to see what status codes are safe to use withour interruption ?
If you want to use your own msgid use a value of greater then 50000. The values below 50000 are reserved for built in messages. To see the list of existing messages you can do a 'select * from sys.messages'. 50000 is used when a value for msgid is not provided.