Viewing 15 posts - 8,476 through 8,490 (of 9,641 total)
If you are not getting an error then it should not through the error message. It is hard to tell based on the limited code snippets you have provided....
June 4, 2008 at 4:52 pm
AS Jeff Moden mentioned earlier, it could be a network issue as well. Are there backups across the network running at this time? You can test this a...
June 4, 2008 at 2:26 pm
It would be easier to answer your question if you posted some DDL, your queries, and the execution plans. It could be as simple as the statistics were updated...
June 4, 2008 at 2:18 pm
mbender (6/4/2008)
June 4, 2008 at 2:09 pm
I think you need this:
SET @SQLString = N'spiTriggerControl';
to be this:
SET @SQLString = N'Exec spiTriggerControl';
I'm not sure why you are using sp_executesql based on the information you have provided. You...
June 4, 2008 at 2:02 pm
At the very least is your ordering. You are never setting @ErrMsg because it is after your goto.
If you are doing multiple inserts\updates in a single transaction why use...
June 4, 2008 at 10:43 am
If you want to track changes to stored procedures you can create a DDL trigger for ALTER PROCEDURE, I assume you are on 2005 since this is a 2005 forum,...
June 4, 2008 at 9:46 am
Good catch. I did not completely read the script. I asked about restores because I have seen this when the login is not on the server you restored...
June 4, 2008 at 9:42 am
Are these databases that have been restored from another server?
June 4, 2008 at 9:19 am
I just read a short blog post that touches on this subject, http://sqlblog.com/blogs/john_paul_cook/archive/2008/06/04/hyper-v-at-teched-questions-and-answers.aspx that might be of some interest to you.
June 4, 2008 at 9:04 am
Yes I the instance needs to be up and running as there is nothing to connect to, if there is no instance. See How To: Restore the master Database...
June 4, 2008 at 9:01 am
I believe this thread has the answer, http://www.sqlservercentral.com/Forums/Topic140287-5-1.aspx
June 4, 2008 at 8:51 am
Here is a way to check when stats where last updated.
[font="Courier New"]SELECT
ST.name AS stats_name,
COL_NAME(sic.OBJECT_ID, sic.column_id) AS column_name,
STATS_DATE(st.OBJECT_ID, st.stats_id) AS last_updated
FROM
sys.tables AS tbl INNER JOIN
sys.stats st ON st.OBJECT_ID=tbl.OBJECT_ID INNER JOIN...
June 4, 2008 at 8:36 am
You need to do SET IDENTITY_INSERT ON in order to explicitly insert a value into the identity column.
June 4, 2008 at 8:28 am
Is it a web application? What are the connection strings for the applications? What are the differences in the applications?
June 4, 2008 at 8:27 am
Viewing 15 posts - 8,476 through 8,490 (of 9,641 total)