Viewing 15 posts - 1,186 through 1,200 (of 1,247 total)
To use the stored procedure debugger, you need to use RDP or login locally to do it. If you run it from a linked server, you may have this error.
November 7, 2006 at 12:15 pm
I found the way.
EXEC sp_MSForEachDB 'USE ? SELECT name FROM sysusers WHERE sid = 0x01 AND name <> ''dbo'''
But yours is better.
November 7, 2006 at 9:49 am
Thank you for your input. It works. A weird result was found when I run
SELECT * FROM master..syslogins WHERE sysadmin = 1
Look at the value at sysadmin!
November 7, 2006 at 9:45 am
This is a discussed topic about a week ago. The major differences are summarized as follow:
Log shipping ships all data, while replication replicates selected data;
Log shipping does not need special...
November 7, 2006 at 8:15 am
SET @STR = 'SELECT TOP '+@count+' ...'
EXEC(@str)
November 6, 2006 at 3:39 pm
Ha! That is my fault. To find the name of job, we can run the following snippet.
SELECT * FROM msdb..sysjobs WHERE job_id='...'
Do you use master server to control jobs? If...
November 6, 2006 at 3:36 pm
It works for both 2000/2005. However, it is not recommended to have this kind of backup. There are two main reasons:
1. Lower speed, in general;
2. Less reliable, in general;
November 6, 2006 at 2:02 pm
Something like the following snippet:
CREATE TABLE #tmp (col1 INT, col2 VARCHAR(10))
INSERT INTO #tmp WITH (rowlock) (col1, col2) VALUES (1, 'a')
SELECT * FROM #tmp WITH (NOLOCK)
DROP TABLE #tmp
November 6, 2006 at 1:56 pm
How about the link below?
http://www.softwarevault.com/search.phtml?keyword=ODBC+driver+2000.85.1117.00
November 6, 2006 at 1:41 pm
Look at the msdb..sysjobs
November 6, 2006 at 1:34 pm
November 6, 2006 at 1:29 pm
You need to map the drive on other server to your server.
November 6, 2006 at 12:21 pm
CREATE PROC spTest (@currentDate datetime, @BegDate datetime=NULL, @EndDate datetime =NULL) AS
If @BegDate IS NULL
Select * From TableA Where EntryDate Between @BegDate and @EndDate
Else
Select * From...
November 6, 2006 at 12:17 pm
All replies indicate that we should run statistics in a regular basis. But how often? What is the criteria to make such a decision?
Many thanks for all of you for...
November 6, 2006 at 9:54 am
Viewing 15 posts - 1,186 through 1,200 (of 1,247 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy