Viewing 15 posts - 35,101 through 35,115 (of 59,099 total)
abhas (2/10/2011)
I am having a table that contains 100000.these are log file.among this depending upon fastest responce i have to find 90% records i.e. 900000 first and among this...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:42 am
Sourav-657741 (2/10/2011)
how to create 10 files using xp_cmdshell?
"It depends" on where the data for the files is coming from. Personally, I create a .bat file and call that from...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:33 am
pduplessis-723389 (6/2/2008)
Any specific reason why it HAS to happen in a stored proc?
Ummm... because it's damned convenient? 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:30 am
shaikh.kurshid (2/11/2011)
declare @table table
select * into @table
from abc
Am i need to give all columns in table variable or else can i do directly copying from table1 to table...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:26 am
Just my 2 cents...
I don't trust other people's code when it comes to the database especially since the data in most of my databases also has to stand up in...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:17 am
In that case, I recommend reading up on BCP exporting as a "Native" format in Books Online.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 10:31 am
prasadau2006 (2/9/2011)
select @cmdstr1='BCP "select * from AdventureWorks.dbo.Employee" queryout \\'+upper(Substring(@@SERVERNAME,1,1))+lower(Substring(@@SERVERNAME,2,len(@@SERVERNAME)))+'\Information\HR\AdventureWorks.dbo.Employee.csv -c -t"," -S'+@@servername + ' -T'
exec master.dbo.xp_cmdshell @cmdstr1
Hii, Currently iam using the above query, but i was advised not...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 9:59 am
opc.three (2/10/2011)
Vote for this connect item if you agree that we should have an in-process EXPORT command:https://connect.microsoft.com/SQLServer/feedback/details/224026
I voted for it. What's amazing is the item was marked as being...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 9:57 am
Wouldn't it just be easier to make two "control" stored procs? One to run task 2 followed by task 5 and another to run the others in the proper...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 9:51 am
Nicely done, Ron. It's amazing what a little provided data can do.
As a side bar, we still need to know what the OP's definition of "a week" is.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 8:38 am
eharper (11/21/2008)
I would like to test some complex data warehouse ETL stored procedures, but I've hit a problem as several...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2011 at 5:55 pm
LutzM (2/12/2011)
Glad I could help 😀
It's not my job to judge but I've got to say it anyway... nice job, Lutz! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2011 at 5:51 pm
This is a very common and easily searched problem. In this case, Google is your friend...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2011 at 12:59 pm
Tom.Thomson (2/12/2011)
Koen Verbeeck (2/12/2011)
The Dixie Flatline (2/11/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2011 at 10:41 am
Tom.Thomson (2/12/2011)
Craig Farrell (2/11/2011)
Anyone here mind if I cut loose on him? I truly believe he'll be tasty. I wanna eat him.
My view is that if you're certain...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2011 at 10:32 am
Viewing 15 posts - 35,101 through 35,115 (of 59,099 total)