Hi!
while inserting image type data to a table, I am getting the following error :
'Server: Msg 7133, Level 16, State 2, Line 6
NULL textptr (text, ntext, or image pointer) passed to WriteText function.'
My table Test is having the colums
id int,
img image
I am executing the following commands:
INSERT INTO test VALUES (1, NULL)
BEGIN TRAN
DECLARE @ptrval VARBINARY(16)
SELECT @ptrval = TEXTPTR(image)
FROM test
WHERE id = 1
WRITETEXT test.image @ptrval 'x4'
COMMIT
========
Can Anybody help me in resolving the issue?
Thnkx in advance.
TapKs
while inserting image type data to a table, I am getting the following error :
'Server: Msg 7133, Level 16, State 2, Line 6
NULL textptr (text, ntext, or image pointer) passed to WriteText function.'
My table Test is having the colums
id int,
img image
I am executing the following commands:
INSERT INTO test VALUES (1, NULL)
BEGIN TRAN
DECLARE @ptrval VARBINARY(16)
SELECT @ptrval = TEXTPTR(image)
FROM test
WHERE id = 1
WRITETEXT test.image @ptrval 'x4'
COMMIT
========
Can Anybody help me in resolving the issue?
Thnkx in advance.
TapKs