Viewing 15 posts - 4,741 through 4,755 (of 6,036 total)
So, are you ready now to agree with my inital statement "Don't bother to drop temp table"?
Or you gonna insist on "best practices" to drop it?
_____________
Code for TallyGenerator
November 20, 2006 at 12:32 pm
Can you look at space used by each table in the database?
Seems you're barking on the wrong tree.
_____________
Code for TallyGenerator
November 20, 2006 at 4:36 am
Example from BOL:
SELECT *
FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0',
'Data Source="c:\Finance\account.xls";User ID=Admin;Password=;Extended properties=Excel 5.0')...xactions
"xactions" here is the sheet name, [Sheet1$] in your case.
_____________
Code for TallyGenerator
November 20, 2006 at 3:06 am
You need to shrink whole database at the end of process.
And this part must be done definitely off hours. It will consume as much server resourses as it could reach...
_____________
Code for TallyGenerator
November 20, 2006 at 2:52 am
No, it means 2 days + 0.7*24 hours. "2.7" days.
SELECT COUNT(OrderID) as [Total number of orders],
COUNT(case when ReceiptHours <= 24 then OrderID else NULL end) as [24...
_____________
Code for TallyGenerator
November 20, 2006 at 2:40 am
Does your C:\Project.exe actually work?
What are the conditions when C:\Project.exe does the job?
_____________
Code for TallyGenerator
November 20, 2006 at 2:09 am
What happens when you run
execute master.dbo.xp_cmdshell 'dir c:\'
Is file "project.exe" in the list returned?
_____________
Code for TallyGenerator
November 20, 2006 at 1:46 am
Is OPENROWSET what are you looking for?
Or you are asking about something more specific?
_____________
Code for TallyGenerator
November 20, 2006 at 1:15 am
Datetime value will always have part time. That's why it's named DATE-TIME.
The best you can do is to make time part = 00:00:00.000
Is it what you are after?
_____________
Code for TallyGenerator
November 20, 2006 at 1:10 am
Yes, really amusing.
Guys decided to show how smart they are, but did not realise whom they are dealing with. ![]()
jezemine, sorry, but you are...
_____________
Code for TallyGenerator
November 19, 2006 at 7:56 pm
The matter of fact it's not A best practice.
You cannot provide a single fact to prove that this practice is better than mine. You even admit it affects server performance...
_____________
Code for TallyGenerator
November 19, 2006 at 3:07 pm
That's all you can provide as a proof for your "best practices"?
"I disagree just because I disagree"? ![]()
_____________
Code for TallyGenerator
November 19, 2006 at 12:43 pm
We can agree that you statement about "best practices" is wrong.
I proved that all you assumptions and statements in favour of dropping #tables were wrong.
You cannot find any reason why...
_____________
Code for TallyGenerator
November 18, 2006 at 11:40 pm
To make sure you are really knowledgeable about the subject you better run some tests.
Because the text above says you are not.
CREATE PROC dbo.ScopeTest
AS
SELECT TOP 1000000 IDENTITY(int,1,1) as ID,...
_____________
Code for TallyGenerator
November 18, 2006 at 10:18 pm
I assumed from the question that distances will be loaded from somewhere, not calculated.
What they need is the prepared "pattern" to fill up with data.
_____________
Code for TallyGenerator
November 18, 2006 at 9:56 pm
Viewing 15 posts - 4,741 through 4,755 (of 6,036 total)