Viewing 15 posts - 1 through 15 (of 22 total)
Hi ChrisM@Work,
I changed my query and verified(made some modifications) the indexes as the others said. So i could avoid the table spool, and i have the response in ...
July 23, 2013 at 2:08 am
Hi ChrisM@Work,
I think, i didn't really understand howto and why replace with ROW_NUMBER() . Can you just explain a bit?
July 22, 2013 at 8:43 am
thakns really much. It is a really good explication.
July 21, 2010 at 8:28 am
may be it helps you :
declare @value int
declare @sql varchar(200)
set @sql= 'select * from tablename where date=getdate()-'+@value+
exec(@sql)
Hi everyone..
I have a query that gets the 30 days back...
July 8, 2010 at 4:34 am
At the end i had the success. Here's the result :
DECLARE @STRING1 VARCHAR(500)
declare @db varchar(100)
DECLARE @Flag INT
SET @Flag = 0
WHILE @Flag<22
BEGIN
select @db=name from sysdatabases where name like '%outbound%'
SET...
March 23, 2010 at 5:26 am
Thanks you two. It is better now but i still get an error which is different.
DECLARE @STRING1 VARCHAR(500)
DECLARE @STRING2 VARCHAR(500)
declare @db varchar(100)
DECLARE @Flag INT
SET @Flag = 0
WHILE @Flag<2
BEGIN
select @db=name from...
March 23, 2010 at 4:03 am
Actually sysdatabeses does not cause a problem.
i get the error from this part as a syntax error :
SET @string ='use '+@db+' DISABLE TRIGGER tr_ListeGroups_in_Archivage_ListeGroups on'+ @db
Msg 102, Niveau 15, État 1,...
March 23, 2010 at 2:27 am
Yes i looked. I didn't find something so different. Here's what i saw :
BackupMedium::ReportIoError: write failure on backup device '\\XX.bak'. Operating system error 1130(error not found).
any ideas ?
October 23, 2008 at 6:44 am
Thanks but i couldn't find it in profiler? Can you explain where can i fin it exactly?
September 9, 2008 at 9:53 am
Hi,
I found the error, maybe there will be other people who want to learn it. Actually it is an error of SQL Server 2005. When you script your trace...
September 4, 2008 at 7:53 am
Hi thanks for the reply . Here's the script.
/****************************************************/
/* Created by: SQL Server Profiler 2005 */
/* Date:...
September 3, 2008 at 5:51 am
Thanks really much it worked, just i had to delete the "+" near the command MOVE .
SET @SQL =
' RESTORE DATABASE ' +...
August 14, 2008 at 7:14 am
Thanks for your reply it seemed me logical but when i try it it gives always the syntax error
third line. The line Move + ... I will try to...
August 14, 2008 at 7:08 am
Hi,
I'm sorry occupying you with that problem, actually i found the solution. So i write it may be someone will need it.
When i run the job by hand...
August 14, 2008 at 3:11 am
i think a good summary. for the second one i can add something. Imagine that you have 200 databases but they have different characteristics so you have to classify them....
August 12, 2008 at 10:14 am
Viewing 15 posts - 1 through 15 (of 22 total)