Viewing 15 posts - 1 through 15 (of 25 total)
Thanks...that explains it, as we upgradded the SQL server to the most current release level a few weeks ago.
February 2, 2006 at 12:08 pm
I like it when I solve my own problems.....
the execute has to have () around the sql and it works...
execute(@checkSQL)
***************
Wasnt that straight forward
January 13, 2006 at 9:42 am
here is an easier way to test....
declare @checkSQL varchar(500)
set @checkSQL = 'select name from master..sysdatabases'
print @checkSQL
execute @checkSQL
***************** returns the following and error ********************
select name from master..sysdatabases
Server: Msg 911, Level...
January 13, 2006 at 9:28 am
more research has uncovered the following which answers my questions on what causes aborts..... While my example is catching STATEMENT errors, the BATCH errors are causing the procedures to fail. Looks...
June 22, 2005 at 4:35 pm
I like wz700's answer.
BUt it sounds like to me an application issue. Before it is entered in, have the app do a check.
Also you may want to consider...
November 15, 2004 at 7:17 am
Ok, my Oracle architecture is a bit old, so someone correct me if new features have corrected my statements here.
First the physical architectures for the storage of data is...
November 11, 2004 at 9:21 am
Lots of things can be causing this.
1) Physical pages have limited space, but will "fill in the gaps" when a new record is inserted. SQL Server writes a row...
November 11, 2004 at 9:12 am
Use this script....it will kill all connections and take the database off line before anyone can re-attach to it.
Have Fun
Eric
Declare @tblConnectedUsers Table ( SPID int)
Declare @vcSQLText varchar(200), @iSPID int
--Get the currently connected users
Insert...
November 5, 2004 at 2:39 pm
Use this script....it will kill all connections and take the database off line before anyone can re-attach to it.
Have Fun
Eric
Declare @tblConnectedUsers Table ( SPID int  
Declare...
November 5, 2004 at 2:38 pm
This problem is almost always incured when you have multiple people or processes going against a KEY_DEF type table.
1) Consider using an Identity for the column that has the...
October 29, 2004 at 7:40 am
Can you take a page out of the data warehousing book.
create a new table that looks like this:
Create table Summary_table ( areaID int, cat int, type int, sum_count int)
then put in a trigger to maintain...
October 28, 2004 at 1:09 pm
Both options work very well...but the second option of coping the files and attaching a new database will be faster than a restore.
Have fun
Eric
September 3, 2004 at 10:19 am
Is your SQL Server agent started?
Scheduled tasks wont run without this service started.
Just an idea, let us know the resolution
Eric
September 3, 2004 at 10:13 am
The above suggestions are good, but it is is an existing application, after you cleanup the data, make the cleanup a trigger. Regardless of how ever it comes in, it will be...
April 23, 2004 at 8:58 am
My co-worker had the same issue.
When he was shrinking the database, he was shrinking the database without having the "Move pages to beginning of file" option checked. When the...
February 18, 2004 at 9:11 am
Viewing 15 posts - 1 through 15 (of 25 total)