Viewing 15 posts - 76 through 90 (of 1,165 total)
You can take the help of RPC...
exec LinkedServerName.DatabaseName.dbo.sp_executesql N'
create table dbo.TableName (colName Varchar(200))'
May 6, 2007 at 11:36 pm
How to manually remove a replication in SQL Server 2000 or in SQL Server 2005
http://support.microsoft.com/kb/324401
May 6, 2007 at 11:30 pm
Import the data from excel into permenant temp tables and then write your own tsql based on your needs to parse....
How to import data from Excel to SQL Server
http://support.microsoft.com/default.aspx/kb/321686
May 6, 2007 at 11:27 pm
I don't think there is any ALTER DATABASE commnad to move the table/index to different filegroup but you can add the filegroup using ALTER DATABASE command...
CREATE CLUSTERED INDEX mynewfilegroup ON...
May 6, 2007 at 11:23 pm
I think you are right statistics is created on index...
Take a look the following document which explains a lot about statistics and optimizer...
Statistics Used by the Query Optimizer in Microsoft...
May 6, 2007 at 11:05 pm
I believe you are using 2005 because you posted in 2005 forum so check the Pivot and unpivot ...
http://msdn2.microsoft.com/en-us/library/ms177410.aspx
May 6, 2007 at 10:38 pm
I believe Jason is right and you have to qualify with database and user name....at the same time make sure user has sufficient rights...
declare @filepath sysname
select @filepath = 'c:\boot.ini'
exec master.dbo.xp_fileexist...
May 6, 2007 at 10:32 pm
Based on your answers I miss understood Obsolete word...
I though you trying to say some thing wrong with DBCC SHOWCONTIG....
Thanks, for the explanation...
May 6, 2007 at 9:39 pm
http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/gems-top-10.mspx
Triggers for Logon Events (New in Service Pack 2)
• | With SP2, triggers can now fire on Logon events as well as DML or DDL... |
May 6, 2007 at 9:36 pm
How to stop the transaction log of a SQL Server database from growing unexpectedly
http://support.microsoft.com/default.aspx/kb/873235
A transaction log grows unexpectedly or becomes full on a computer that is running SQL Server
May 6, 2007 at 5:27 pm
If I am not mistaken DBCC SHOWCONTIG is deprecated but not obsolete.
May 6, 2007 at 5:10 pm
What about SQL Server 2005 Logon Triggers!!!
http://www.sqlservercentral.com/columnists/FVandeputte/sqlserver2005logontriggers.asp
May 6, 2007 at 3:09 pm
Run RESTORE HEADERONLY against your tlog backups and see if there is any issue with LSN...
And mostly log LSN mismatch only when you run log truncation or recovery model changed.
April 20, 2007 at 11:00 pm
Just shrinking the log file using DBCC SHRINKFILE should not cuase log sequence to break...
There might be something else cuasing to break...mostly truncating the log.
April 20, 2007 at 9:35 pm
If the tempdb is suspect, I don't think without restarting sql services of the instace will create another tempdb with scripts...
April 20, 2007 at 9:32 pm
Viewing 15 posts - 76 through 90 (of 1,165 total)