Viewing 15 posts - 1 through 15 (of 38 total)
Hi Thanks,
I'll have play around with the code supplied.
Thanks for the help 😉
Chris
July 15, 2014 at 6:50 am
Hi,
Thanks for your reply.
If I understand correctly, I would need the centre point in order to use STBuffer().
I don't currently understand how to find the centre point from the...
July 15, 2014 at 3:08 am
Just to finish this topic off, I eventually got my data posting correctly in and out of CONTEXT_INFO as an NVARCHAR. I did however find one additional problem which I...
October 5, 2012 at 4:41 am
Howard, that is brilliant!
I had to tweak it slightly as follows to get the Byte I wanted but the method works perfectly. Here's the what I ended up with:
(CAST(SUBSTRING(CAST(device_status_flags AS...
March 2, 2012 at 7:27 am
John,
In this instance, Byte 0 is the Least Significant.
Here is the description of the encoding that I have been given:
Byte 0 (LSB) = status flags
Byte 1 Current voltage (the value...
March 2, 2012 at 6:30 am
Works a treat. 🙂
September 8, 2011 at 12:44 pm
Thanks for the replies guys.
I need to create multiple rows and yet interleave the rows so that row1 created in table b is referenced by row 1 created in table...
September 8, 2011 at 9:25 am
Hi There,
Thanks for your reply. Actually, the reverse is true.
The end requirement is to indicate, in a bit field in the results of the stored procedure, if the row that...
July 4, 2011 at 7:09 am
Mr M: Yes, the field is an NVARCHAR. I tried reducing the size of the source data to NVARCHAR(64), it still didn't work.
June 9, 2011 at 3:26 am
Hi Mr Magoo.
Thanks for your replies.
I tried changing the size of my VARBINARY to both 256 and MAX.
Unfortunately I get the same result. It seems that when I set the...
June 8, 2011 at 10:02 am
Originally, I was using VARCHAR as follows:
DECLARE @SYSUSER VARBINARY(128)
SET @SYSUSER = CAST(CAST(@LoginName AS VARCHAR(128)) AS VARBINARY(128))
SET CONTEXT_INFO @SYSUSER
This worked.
Then came the new requirement to be able to support non-unicode characters...
June 8, 2011 at 9:52 am
Hi Lowell,
Thanks for the reply.
As far as I am aware, no implicit conversation from varchar to nvarchar is taking place. The source value (@LoginName) is nvarchar(128).
I am converting this...
June 8, 2011 at 9:37 am
Hi again,
I found a solution for this issue after trawling the internet for a bit.
http://www.dbtalk.net/microsoft-public-sqlserver-tools/ssms-2008-a-512328.html
Basically in my user profile, I backed up and then deleted the regsvr.xml file in
\Application Data\Microsoft\Microsoft...
March 16, 2011 at 11:57 am
GSquared,
Just tried that out and it works perfectly with my code.
Thank you so much, this was driving me nuts! 🙂
Chris
February 3, 2011 at 8:15 am
Having tried out both suggestions, I found that the method using STUFF worked best as I was able to adapt my existing code using a CTE to use this method.
I...
November 8, 2010 at 8:30 am
Viewing 15 posts - 1 through 15 (of 38 total)