Viewing 15 posts - 52,981 through 52,995 (of 59,072 total)
By the way... there shouldn't be a header on fixed width output...
... and, contrary to what's been said, BCP makes a nice fixed width output if you use a format...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2008 at 7:16 am
Michael is correct, as well... if you create a temp table in a nested proc, the outer proc will not be able to see it. If you create a...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 4:46 pm
Ramesh (1/9/2008)
Thank you very much for ur response...Without temp Table is it possible?..
can u plz explain me
Why do people always ask that? What's so poison about temp...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 7:39 am
Just in case you want to know why Matt says the performance will suck...
http://www.sqlservercentral.com/articles/T-SQL/61539/
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 7:36 am
Andrew Terwiel (1/9/2008)
Also, derived tables have lower overheads in comparison to temporary tables.
Not really... both are formed in memory if there's room and in TempDB if not...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 7:23 am
Better than that, correctly designing a normalized table would go a long way 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 7:21 am
Thanks for the tip, Jan...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 7:14 am
Which DBCC command did you execute?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 7:12 am
Each new query window creates it's own connection or "session" to the database.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 7:08 am
True enough... but for planning purposes, it does count towards the max of 8060...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 1:56 am
Heh... you didn't read the OP's request... he wants the total disk size as well. xp_FixedDrives does not provide that information. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2008 at 12:45 am
Ys just gotta love Bulk Insert for speed... 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2008 at 11:53 pm
If you don't want to use BCP with a format file (absolutely the fastest), then something like this is probably in order... brute force 😉
USE AdventureWorks
GO
SELECT STR(SalesPersonID,3)
...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2008 at 11:50 pm
If you ever need to avoid the use of xp_CmdShell (lot's of DBA's simply don't allow its use for security reasons), then check this out...
EXEC Master.dbo.xp_DirTree '\\MIS1\Tmandaily$\INCT\',1,1
Won't help you with...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2008 at 5:37 pm
I use the Bulk Insert command from T-SQL... I don't even go near SSIS for the same reason I don't use DTS in 2k... too slow. I can import...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2008 at 5:13 pm
Viewing 15 posts - 52,981 through 52,995 (of 59,072 total)