Viewing 15 posts - 31 through 45 (of 83 total)
Deadlocks occur at the resource level. It may be deadlocking on pages within the table.
Try the below steps to find out what is the other process in the deadlock.
April 16, 2008 at 4:44 am
If when the database was deleted you told it not to delete the backup history you may be able to use....
use msdb
go
select bs.database_name,bmf.physical_device_name from backupmediafamily bmf
join backupset bs on (bs.media_set_id=bmf.media_set_id)
order...
April 15, 2008 at 7:41 am
Try looking at the BCP command line utility. This will allow you export data into a text file.
February 20, 2008 at 6:14 am
Quotes from book online.
Clustered Index
A clustered index determines the physical order of data in a table.
Primary Key
A primary key constraint ensures no duplicate values are entered in particular columns and...
January 24, 2008 at 3:56 am
--Here is a schema friendly version.
---------------------------------
declare @cmd nvarchar(4000)
declare @srchstr nvarchar(200)
declare @tbl nvarchar(255)
declare @col nvarchar(255)
create table ##results (res varchar(255))
select @srchstr='ALFKI' --CHANGE THIS TO YOUR SEARCH STRING
declare structure cursor for
select table_schema+'.['+table_name+']',column_name from...
January 23, 2008 at 10:39 am
if you were to write the sql statement yourself with a where clause would you use a like or =
January 22, 2008 at 11:11 am
is it nchar,char,nvarchar or varchar value?
January 22, 2008 at 11:03 am
It could also be the column.
It prints the command in the messages window try copying one of the erroring strings to the query and see what happens.
January 22, 2008 at 10:32 am
Try the below...
This will take a while as it searches every char, nchar, nvarchar & varchar column.
-------------
declare @cmd nvarchar(4000)
declare @srchstr nvarchar(200)
declare @tbl nvarchar(255)
declare @col nvarchar(255)
create table ##results (res varchar(255))
select @srchstr='ALFKI'...
January 22, 2008 at 10:02 am
The sample data you have been given. Is it an exact match (=) or partial (like).
Also what is the size of the database you want to search?
January 22, 2008 at 9:31 am
Have updated the script so that it works for identity and with money data type. It is awaiting approval.
But here is the new one.
Let me know if you have any...
January 22, 2008 at 7:58 am
If it is a problem inserting into an identity field try using...
SET IDENTITY_INSERT TABLENAME ON
Though you will need to turn it back off again.
If thats not the problem let me...
January 21, 2008 at 4:49 pm
Viewing 15 posts - 31 through 45 (of 83 total)