Viewing 15 posts - 57,166 through 57,180 (of 59,060 total)
I know they asked for blank lines... ask them if this is better...
DECLARE @Table TABLE(pKey int,grp int, val int)
INSERT INTO @Table
SELECT 1,1,11 UNION ALL
SELECT 2,1,12 UNION ALL
SELECT 3,1,13...
December 4, 2006 at 11:19 pm
Unless there is also a date column, there is no way to "query between 18:00:00 and 06:00:00'.... maybe between 06:00:00 and 18:00:00 but not the other way around.
So, is there...
December 4, 2006 at 10:51 pm
the time when i had to read books is over
Then, your career as a successful DBA is over.
December 4, 2006 at 10:35 pm
Sounds like it was a bad match all the way around... it was a good thing that you bailed. How ya doin' now?
December 4, 2006 at 10:23 pm
Actually, Philip didn't write the query... I did...
December 4, 2006 at 9:48 pm
The other articles are not the immediate concern. Plagerism and breaking of copy right laws should be your immediate concern... I think you make too little of the good advice...
December 4, 2006 at 9:28 pm
You can't and for good reason... saving a database diagram will change the database, as well. You certainly don't want the users playing around with your diagram and hitting "Save"......
December 2, 2006 at 10:34 pm
Isn't it amazing that such a simple format is so very complex programatically speaking? Why they didn't make BCP do this a little easier, I'll never know...
This would be how...
December 2, 2006 at 10:21 pm
Heh... thanks for the feedback, Phillip... I kinda figured it was something like that. Every once in a while, I'll look at one of these posts, start writing code, go...
December 1, 2006 at 6:39 pm
As the two links John posted suggest, add an IDENTITY column to your table and concatenate with the string conversion of that.
December 1, 2006 at 3:08 pm
Uhp... nope... don't need a temp table for this one, Phillip... and we don't need to go near INFORMATION_SCHEMA or SysObjects... and it flies even with lot's of data.
Suryah,
Thank...
December 1, 2006 at 2:44 pm
I don't think the author intended it this way, but to answer your question of "So what if parts are copied from BOL"? Because...
1. Plagerism is in pretty bad form. ...
December 1, 2006 at 10:34 am
You'd have to store it as a BIGINT... most phone numbers are too big for just INT. That would also guarantee numerics only.
December 1, 2006 at 5:07 am
Why do you need DTS to preserve the leading 0? What are you using DTS for? Are you trying to create an "output file" of some sort? Why do you...
November 30, 2006 at 4:44 pm
Viewing 15 posts - 57,166 through 57,180 (of 59,060 total)