Viewing 15 posts - 57,151 through 57,165 (of 59,070 total)
If you use BCP and a format file to import to a table, you don't need the "control file"... just add the necessary constraints to the table and setup BCP...
December 13, 2006 at 5:59 pm
You bet... thank you for the feedback, Norbert...
December 13, 2006 at 5:52 pm
Using Remi's fine demo table, the following will actually give you dates and times for half hour slots... it will not, however, give any missing slots... that would require just...
December 12, 2006 at 11:04 pm
See the function Frank Kalis made at the following...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=153822
Before you make a generic post like this, you should do a search on the forum.
December 12, 2006 at 10:45 pm
Nope... I meant it the way I posted it... but your's works, as well.
Ya just gotta love these non-discript posts, eh?
December 12, 2006 at 10:36 pm
IMHO... if he wants flat files, why bother with the expense of an RDBMS??? Store it in a FILE and maintain it with a good word processor. And access it with Binary...
December 12, 2006 at 9:10 pm
Like this...
SELECT *
FROM yourtable
WHERE Dept_ID = 1
ORDER BY Member_Name
SELECT *
FROM yourtable
WHERE Dept_ID = 2
ORDER BY Member_Name
SELECT...
December 12, 2006 at 8:46 pm
Absolutely agree... but lot's of folks have designated "work horse" machines where they might download raw CDR's or other info to and then point SQL Server to that box to...
December 9, 2006 at 12:40 pm
That's the perfect answer... too many folks try to do AI with SQL Server.
December 9, 2006 at 12:37 pm
"Greforian?" Do you mean "Gregorian" ? Do you have a link that explains why 732312 equals to 1/1/2006? Might be able to pull a rabbit out of the hat if...
December 9, 2006 at 12:34 pm
I'm thinking that a couple of things are missing on this post, but, you can write to the client machine if you use a UNC path AND the SQL Server...
December 8, 2006 at 10:25 pm
And, xp_FileExists does not require SA privs... neither does xp_DirTree which is xp_FileExists on steroids!
December 8, 2006 at 10:22 pm
Remi,
Because she is using SELECT t1.*,t2.*, every spawned row is totally unique... DISTINCT will not work in this case...
December 8, 2006 at 10:14 pm
If you can delete everything in the table, why can't you add an IDENTITY column? This isn't making any sense...
The topper is separate date/time columns... one of those not so...
December 8, 2006 at 10:11 pm
Viewing 15 posts - 57,151 through 57,165 (of 59,070 total)