Viewing 15 posts - 2,626 through 2,640 (of 3,654 total)
If you CREATE TABLE #TableName it should be for the current connection only.
If you CREATE TABLE ##TableName then it will persists until the creating connection disconnects.
November 23, 2005 at 2:55 pm
Thanks, Old SQL 6.5 habits die hard. Although I know it exists I rarely use the object_name function.
Does anyone know the correct syntax for getting decimal places to appear...
November 23, 2005 at 10:12 am
There are two solutions and they require db_owner or db_DDLAdmin privileges.
If you want to DELETE FROM Table1 then use TRUNCATE TABLE Table1. Not only will this reset the Identity...
November 23, 2005 at 1:39 am
The problem is not my creating objects out of sync the problem is that I have inherrited a plethora of ancient databases with convoluted dependencies and need to be able...
November 19, 2005 at 4:07 am
Is the nature of the single stored procedure such that it cannot be broken out into much simpler non-dynamic SQL?
Let us assume that the proc cannot be broken out.
Even if...
November 17, 2005 at 2:14 am
Sir Bob Geldoff says his productivity is directly proportional to the number of emails he ignores!
He also says that e-mail can be counter productive because the rapid fire responses it...
November 16, 2005 at 2:10 am
I would use the ADO Command object to call your stored procedure.
I don't have my ADO books to hand but it is a case of setting
Command.CommandText to the name of...
November 4, 2005 at 2:16 pm
It probably doesn't apply in your case but if a clustered index is placed on the field that has the LIKE condition it works quite well because clustered indexes are...
October 28, 2005 at 1:57 pm
Apparently it is possible to run a standard diesel engine on recycled vegetable oil.
There is a bloke around here that gets his supply of vegetable oil from fish and chip...
October 26, 2005 at 2:04 pm
The methods discussed in the following article can be used
http://www.sqlservercentral.com/columnists/rmarda/letsblockthedba.asp
Of course the instant you use them you will probably breach your support agreement.
Does your 3rd party app need the rights...
October 17, 2005 at 1:58 pm
Assuming that you have various methods of maintaining your data and can't put the logic in stored procedures try the following
INSERT INTO dbo.HistoryTable (column1, column2......column99999,Action)
SELECT I.column1, I.column2, I.column3 ,....column99999 ,
CASE...
October 17, 2005 at 1:51 pm
Let us suppose that project A had a task called documentations and project B had a task called documentation. In a projects and employees schema these would be non-atomic.
If you...
October 16, 2005 at 2:31 pm
Well you cluster for resilience so why wold you want to cluster on the same box?
When you install on a cluster the Enterprise Edition knows that it IS a cluster...
October 12, 2005 at 12:36 pm
I used to develop using IIS5 and ASP and found that getting Visual Interdev to debug properly was an impossibility. For that reason I always developed a middle tier...
October 7, 2005 at 3:33 pm
Viewing 15 posts - 2,626 through 2,640 (of 3,654 total)