Viewing 4 posts - 31 through 34 (of 34 total)
Before I populate a VARCHAR field from a NVARCHAR field, I want to check if it is possible to do without raising an error.
March 10, 2010 at 1:45 am
Yes, precisely what I was after!
Many thanks!
March 9, 2010 at 8:41 am
How about this?
DECLARE @SubStringLength AS INT
SELECT STRING
FROM STUFF
WHERE ISNUMERIC(SUBSTRING(STRING,1,@SubStringLength)) = 1 -- Checks the substring is numeric
AND SUBSTRING(STRING,1,@SubStringLength) NOT LIKE '%.%' ...
March 8, 2010 at 11:31 pm
Hi Andrew, thanks for the reply.
That's what I did in the end. I created 6 NT security groups, as follows:
G_SQL_PROD_SYSADMIN G_SQL_PROD_READONLY
G_SQL_DEV_SYSADMIN ...
March 8, 2010 at 11:43 am
Viewing 4 posts - 31 through 34 (of 34 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy