Viewing 15 posts - 2,731 through 2,745 (of 2,769 total)
Yeah, I purposely made my scenario generic, and I realize that there's a lot of "it depends" involved. (Lynn: to answer your question, it could be either -- almost...
December 21, 2009 at 8:44 am
GSquared (12/21/2009)
In VBA, you can create an SQL connection object, and a...
December 21, 2009 at 7:55 am
Actually, now that I'm re-reading it . . .
Why are you building a dynamic query? Why not do this:
DECLARE @cn varchar(50)
DECLARE @value char(1)
SET @cn = 'MyColumnName'
SELECT TOP 1 @value...
December 18, 2009 at 2:16 pm
Good thoughts. I have to admit that the issue of injection attacks didn't even occur to me.
I remember an instance where I'd prefer the embedded code direction (and I'm...
December 18, 2009 at 1:31 pm
I think I have the gist of what you're asking. Can you supply some specific examples?
December 18, 2009 at 1:21 pm
Okay . . . that wasn't made clear in your original post, and I did not get that at all. (Just for your future reference, you should make...
December 18, 2009 at 12:08 pm
Just telling us what the output is supposed to look like doesn't help at all. Can you give us an actual example of how you want your output to...
December 18, 2009 at 11:37 am
Camden Yards and Coors Field are both great ballparks! I also like Safeco Field in Seattle. SkyDome (now Rogers Centre) is also another interesting ballpark as well.
I also...
December 18, 2009 at 11:13 am
I think you'd be better off doing it like this:
update table
set col1=value, col2=value+some value
Note: the "value" in col2 is (hopefully, obviously) the same one that you put into col1.
December 18, 2009 at 11:05 am
Ack . . . I just re-read the previous postings. Shows you what happens when I skim through posts rather than absorbing them!
I can definitely see your point...
December 18, 2009 at 9:13 am
How often do we refer to a "CPU" as an entire computer case when really all it is is a component inside?
Similarly, a lot of people refer to the words...
December 18, 2009 at 9:10 am
COLD!!!
Single-digit and negative Fahrenheit temps here in upstate New York!
December 18, 2009 at 8:58 am
Steve -- it was your user point level names that prompted me to start this thread in the first place! 🙂 (Love your editorials, BTW!!!)
My sister-in-law lives in Denver,...
December 18, 2009 at 8:52 am
I just tried running your query on one of my own tables that has dates, and didn't have a problem.
BTW, Grant is correct . . . you should avoid...
December 18, 2009 at 8:34 am
Lynn Pettis (12/16/2009)
Let me guess, not her? 😛
If my team wins, it's worth it! 😀
December 16, 2009 at 2:26 pm
Viewing 15 posts - 2,731 through 2,745 (of 2,769 total)