Viewing 15 posts - 48,541 through 48,555 (of 59,065 total)
Lowell (8/27/2008)
add a folder which contains all of your .csv files as a linked server.
a text linked server will show evert .txt file and every.csv file as a...
August 27, 2008 at 8:38 pm
Sergiy (8/27/2008)
It will allow users to refresh data instantly with single...
August 27, 2008 at 8:23 pm
nimmi.smith (8/27/2008)
I see that in my last post the data file had a comma missing between a field.
Here is my file:
"RECORD_ID","SOURCE_ID","MEDIA","CREATED_BY","DATE_ORD","AMT","F_NAME","ORD_TIME"
"MLMORD20140571","7499582HG","GVAUTO","NANCY",20080616,100.00,"WALLY","02:21:08 PM"
"MLMORD20141711","7504735LS18","GVAUTO","BILL",20080616,100.00,"ROB","11:17:13 PM"
Here is my format...
August 27, 2008 at 8:09 pm
Heh... sorry Tomm... bet you've had "mo-den" enough of that 😛
August 27, 2008 at 7:56 pm
Simon,
Now that Gus has replied, it's very good forum etiquette/good practice to let him know if it worked or not. If it didn't work, explain why with some good...
August 27, 2008 at 7:14 pm
simon phoenix (8/26/2008)
Here i have scripted the table and the data such that it is rerunnableThanks for your suggestion, Jeff
Good... Here's one more suggestion... don't edit your posts on something...
August 27, 2008 at 7:10 pm
colin Robinson (4/20/2008)
August 27, 2008 at 7:03 pm
colin Robinson (4/21/2008)
Thanks for the pointer,That would make a decent interview question. and it least a truncate means you can retain permissions etc.
Thanks for the feedback... Correct... no need to...
August 27, 2008 at 6:54 pm
Tomm Carr (8/27/2008)
jofa (8/27/2008)
The expressionTimeNumber/10000*3600 + (TimeNumber%10000)/100*60 + TimeNumber%100
can be simplified to
TimeNumber - TimeNumber/100*40 - TimeNumber/10000*2400
Actually, the code was "60 * 60" not "3600", meaning 60 minutes per hour times...
August 27, 2008 at 6:40 pm
Heh... no... trust me... I just got done reducing/archiving a 131 million row table to a 44 million row table using the 20k method I spoke of... on a 24/7...
August 27, 2008 at 6:35 pm
rog pike (8/27/2008)
dphillips (8/26/2008)
All of this aside, however, was to show that one can pull a PIVOT without NULLS, and is only for specific situations.I should be rich 😀
Heh... You...
August 27, 2008 at 6:31 pm
rbarryyoung (8/26/2008)
Jeff Moden (8/26/2008)
SELECT ROW_NUMBER() OVER (PARTITION BY ShiftID, TableID, StationID, EmployeeID, DATEADD(dd,DATEDIFF(dd,0,CounterDateTimeStamp),0)
...
August 27, 2008 at 6:27 pm
Update:
What a huge PITA SQL Server 2000's TEXT data type is...
You can create a sproc with a TEXT datatype variable as one of the parameters. Trouble is, you can't...
August 27, 2008 at 8:27 am
Tomm Carr (8/26/2008)
Here is my contribution:
Ummmm... nicely done, but be careful. If you take a look at the actual execution plan, there are two flow arrows of great concern......
August 26, 2008 at 9:51 pm
Hi Simon,
You'd probably get a faster, better response if you put your data in a ready to use/test format. Take a look at the link in my signature line...
August 26, 2008 at 7:32 pm
Viewing 15 posts - 48,541 through 48,555 (of 59,065 total)