Viewing 15 posts - 61 through 75 (of 131 total)
nitinpatel31 (3/5/2009)
It has some errors.- It is RAISERROR not RAISEERROR.
- Function can be passed as argument.
Use below code for it
DECLARE @Error VARCHAR(150)
SET @Error = ERROR_MESSAGE()
RAISERROR (@Error,16,1)
Thanks for your help. Now...
March 5, 2009 at 7:42 am
nitinpatel31 (3/5/2009)
Use RAISERROR statment inside CATCH block.
How could I add the RAISEERROR stmt in the above CATCH block.
If I add it before END CATCH stmt, it is showing the error___
Msg...
March 5, 2009 at 5:14 am
Hi,
Thanks for you reply.
But I didn't get what I want in the above code.
I want to insert the errors into a error_log table when the insertion to a table fails....
March 5, 2009 at 4:09 am
OK.... sorry....
I found the problem.
There is an extra ;(semicolon) came in the line ERROR_MESSAGE()
It looks simple but I struggled to find out.
Thanks for your help,
Venki.
March 5, 2009 at 2:31 am
GilaMonster (2/20/2009)
While it's not perfect, try using ISNUMERIC and see if there are any columns that it considers not numbers.
Thanks GilaMonster.
It is due to some nonnumeric data I believe. I...
February 20, 2009 at 3:07 am
Greg Charles (2/13/2009)
February 13, 2009 at 12:18 pm
Thanks a lot for your quick replies.
I didn't change the DTS to SSIS. I kept as it is.
When I am trying to schedule it i.e. I tried add it as...
February 13, 2009 at 10:01 am
Adi Cohn (2/13/2009)
February 13, 2009 at 2:09 am
I am doing a vb program which requires this one.
I will first taking that employee name into a variable and checking for apostrophe(') and if it is there then replace...
February 11, 2009 at 1:23 am
GSquared (2/9/2009)
If you put two apostrophes in a row in that, SQL will allow it.
Thanks for your response.
But my question is I want to do it in single stmt.
Actually, I...
February 9, 2009 at 12:45 pm
Hi,
I got a small doubt. Let me explain the process and then my doubt.
I am tranferring the data from couple of tables to another table.
I am using temporary tables called...
February 2, 2009 at 8:18 am
Thanks a lot for your valuable suggestions.
I am checking the data and sizes and adjust accordingly.
Best wishes,
Venki.
January 29, 2009 at 6:11 am
steveb (1/29/2009)
Otherwise if is the the same size or less then it will succeed.
This does depend...
January 29, 2009 at 4:33 am
steveb (11/19/2008)
venki (11/19/2008)
Perry Whittle (11/18/2008)
venkiyou can of course also use the management studio if you prefer GUI interraction
How can we do with SQL Server Management Studio?
Right Click on databases node...
January 9, 2009 at 5:41 am
Is the DBA unwilling to grant the VIEW DATABASE STATE permission to you? If so, that will limmit your options here.
I am not sure I have this Permission. I...
January 6, 2009 at 12:12 am
Viewing 15 posts - 61 through 75 (of 131 total)