Viewing 7 posts - 1 through 7 (of 7 total)
Hi,
Try something like this. What I have done is that I have taken table name, field name, data type of field name and actual value of field name...
February 11, 2003 at 2:00 am
Try this
DECLARE @Condition nvarchar(100)
DECLARE @SQLString NVARCHAR(500)
set @Condition = ' <whatever condition> '
SET @SQLString = 'SELECT * FROM customer WHERE ' + @Condition
EXECUTE sp_executesql @SQLString
-- Now execute the second condition
set @Condition...
February 10, 2003 at 3:36 am
quote:
How do i update the field having the ntext datatype by using the cursor in a stored procedure.Check the READTEXT, UPDATETEXT and...
January 30, 2003 at 8:22 pm
Hi,
I have already set SET NOCOUNT ON. But what I am gettting is the result of SELECT statements. I have to fetch some records for intermediate computations and...
November 1, 2002 at 5:42 am
Hi All,
Thanks to all of you for the information. This helped me a lot.
Ashish
October 25, 2002 at 5:02 am
Hi,
I am new to this and I dont have any idea how to go about this. Can you give me the steps to do this OR any...
October 21, 2002 at 4:23 am
Hi,
Found the solution.
Instead of using the table schema directly in the OPENXML, explicitly give the schema definition. So the statement will read something like...
September 18, 2002 at 1:17 am
Viewing 7 posts - 1 through 7 (of 7 total)