Viewing 15 posts - 57,436 through 57,450 (of 59,067 total)
And, you need to be real careful if this comes anywhere near a GUI... think "SQL Injection". Theres a huge amount of info on how to prevent it... do a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2006 at 7:15 am
I guess I don't understand... obviously, you are finding the correct Windows user name somewhere along the line in your stored procedure because you want to "pass it" to a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2006 at 7:11 am
It's the triple quotes in the variable assignment that are the most recent problem...
Try this...
declare @townID varchar(25),
@sql varchar(1000)
set @townID = '00003' --<<THIS IS WHERE THE...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2006 at 6:49 am
Old guys rule...
1 million conversions... 11 seconds... works for positive numbers, negative numbers, zero, and NULL...
DECLARE @Places INT
SELECT TOP 1000000...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2006 at 1:51 am
If you run this code, you might just want to have your DBA turn on Trace Flag 1204 just to be safe ![]()
As a self-taught newbie, I guess when it comes to the "religion", I don't have a lot of the... |
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2006 at 6:15 am
My managers at work liked it so well, they allowed the term in our coding standards... and, ALL the developers know what RBAR means... no need for a lengthy explanation...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2006 at 6:10 am
ISNUMERIC does NOT check for numeric characters only... be careful.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2006 at 6:03 am
Viewing 15 posts - 57,436 through 57,450 (of 59,067 total)