Viewing 15 posts - 16 through 30 (of 30 total)
I would recommend to make one file with all scripts and then do a search and replace otherwise you will have to convert all statements to string and Use...
May 16, 2002 at 12:10 pm
You have to use a static table not a temp table if you want to use EXECUTE()
Execute func does not see temporary table neither local or global.
And I do not...
May 16, 2002 at 11:43 am
Can you post complete CREATE PROC Scipt
nor just the table name.
quote:
Here it is. The name of the temp table is...
May 16, 2002 at 11:38 am
You can use
BACKUP LOG [dbname] WITH TRUNCATE_ONLY
thou i would reccomend to backup the log too, in case you need to restore your data in the middle of the day.
May 16, 2002 at 11:36 am
Can you post your Script it's kind of hard to tell without seeing it.
At least for this type of error.
quote:
I have a...
May 16, 2002 at 11:34 am
BACKUP LOG [dbname] WITH TRUNCATE_ONLY
I would reccomend to actually back up the file before you truncate it.
quote:
Hi guys!Can you help me to...
May 15, 2002 at 12:41 pm
If you just want to sort the column order then use Antares686' example, if you want to rewite the table structure.
You have to move everything into a temp table...
May 15, 2002 at 12:35 pm
Change your SQL Server Agent service to use NT Domain account.
quote:
SQL Server agent currently uses the system account, which caouses...
May 15, 2002 at 8:24 am
I appologise made a typo, the only time you would use double colon is when you are calling a system table function like this.
select * from ::fn_helpcollations()
May 15, 2002 at 8:23 am
Here is an MSDN How to Article
How to rebuild the master database (Rebuild Master utility)
To rebuild the master database
Shutdown Microsoft® SQL Server™ 2000, and then run Rebuildm.exe. This...
May 14, 2002 at 1:42 pm
LOL, good one.
backup your databases.
Uninstall your sql server period.
Install 7.0, and restore the databases.
I have never tried doing it, test on an alternate machine if you have one.
Do it at...
May 14, 2002 at 1:35 pm
If you are using SQL Server 2000
You could make your life simpler by writing a function that builds an SQL Statement for you, executes it and returns a table...
May 14, 2002 at 1:32 pm
You are probably tyring to insert into Identity Column or some columns have or some columns do not allow null values.
If you have a timestamp column in the table...
May 14, 2002 at 1:25 pm
one # sign is local temp table for procedure.
two # pound signs is global for connection
three # signs is global for all connections
i think only SQL 2000 supports the last...
May 14, 2002 at 1:20 pm
You can do it this way.
Select Top 100
PolicyID
From PolicyTable
Order BY PolicyID
When you hit last record in the RS USe The id in where clause for the same SQL...
May 14, 2002 at 9:18 am
Viewing 15 posts - 16 through 30 (of 30 total)