Viewing 15 posts - 346 through 360 (of 1,086 total)
Initally, you will need to CONVERT @ID into a varchar so @SQLQuery is a string.
This is a poor example, but if @ColName was passed in as 'Col1, Col3, Col4;...
October 22, 2005 at 6:17 am
You could try incorporating DIIFERENCE with a minimum return of 3 into your code...
SELECT DIFFERENCE( 'run', 'runner')
October 21, 2005 at 2:33 pm
Ooops. GPF^ did post...
Outer Space is OURS! We declared, so now it is fact!!! (As to our "arab foreign policy"? I was...
October 21, 2005 at 1:38 pm
We are friends! I just happen to be wicked, (amongst other not-so-nice attributes).... (I suppose the "Free the Marshmallows" coalition will now rear...
October 21, 2005 at 1:28 pm
You're the Marshmallow... (I just updated the post with it acronym).
October 21, 2005 at 1:00 pm
"Once again the 'anti-cow coalition' has attempted to besmirch my good name with its spurious implications. I call for end to this 'mean spirited, scorched earth' politicing and a return...
October 21, 2005 at 12:28 pm
woman, oh woman! Now you are on my list!!!
"The implication that I called GF^ a 'cow' is totally unfounded and without substance! It was probably put out by some 'anti-cow coalition'...
October 21, 2005 at 12:08 pm
Tell me about it. When I first moved there, my family would call whenever a hurricane came near N.C. I would tell them I live 250 miles inland - they...
October 21, 2005 at 11:57 am
MUCH better solution and excellent question!
Thanks PW.
October 21, 2005 at 11:46 am
Actually RGR'us, (man it is hard not calling you Remi) you are absolutely correct! Oh, dopey me...
The application should recieve ALL and...
October 21, 2005 at 11:42 am
NASA may be interested in sending Angry Bovines into Space soon!
Just hold tight - you may be a shoe-in...
October 21, 2005 at 11:40 am
Your original post does imply that - sorry.
You can just add an AND to my suggestion(s):
WHERE sub.magazine = 1
AND...
October 21, 2005 at 11:36 am
Depending upon what sFieldNames could have in it as its string, your code does not necessarily need to be dynamic.
You could use either a CASE statement or flow control...
October 21, 2005 at 11:34 am
Two possible approaches might be:
SELECT customerid, name
FROM customers cs
WHERE EXISTS( SELECT *
FROM subcriptions sub
WHERE sub.customerid = cs.customerid
AND sub.magazine IN( 1, 3))
SELECT...
October 21, 2005 at 11:29 am
Viewing 15 posts - 346 through 360 (of 1,086 total)