gtjr921
Programmer
- Aug 30, 2006
- 115
Is there a way to disable error checking when creating a Stored Procedure in SQL 2005 or when a particular SP is run?
I keep getting
My SP exec another SP that changes the column type of the column from VarBin to VarChar. Then the SP i am trying to create then imports data to a table. The Stored Procedure doesn't realize that The column type will change and just wants to throw the error and not let me create it.
When I execute the syntax manually it works fine because then Sql realizes that the column type has been changed from varbin to varchar.
So is there a way to either turn off error checking within a particular stored procedure or in SQL all together. Prefer for it to be withing the individual SP.
I realize what I am doing may not be the best practice, but it is working out the best to do it this way for my situation.
Thanks
I keep getting
Code:
Operand type clash: varbinary(max) is incompatible with float
My SP exec another SP that changes the column type of the column from VarBin to VarChar. Then the SP i am trying to create then imports data to a table. The Stored Procedure doesn't realize that The column type will change and just wants to throw the error and not let me create it.
When I execute the syntax manually it works fine because then Sql realizes that the column type has been changed from varbin to varchar.
So is there a way to either turn off error checking within a particular stored procedure or in SQL all together. Prefer for it to be withing the individual SP.
I realize what I am doing may not be the best practice, but it is working out the best to do it this way for my situation.
Thanks