Viewing 15 posts - 1,366 through 1,380 (of 2,044 total)
Please do not cross-post
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=131&messageid=308126
September 13, 2006 at 12:25 pm
Schema modification (Sch-M) locks are used when a table data definition language (DDL) operation (such as adding a column or dropping a table) is being performed....
September 13, 2006 at 12:20 pm
How are you accessing the table (form, stored procedure, table view)? Does the linked table points to the sql 2000 table?
September 13, 2006 at 11:55 am
See if there are dependent objects generated. In that case you can execute the script per object.
September 12, 2006 at 2:53 pm
add another ' for every '
select * from employeedetails
where edescription='employee name is ''john jackson'' and state is ''ca'''
September 11, 2006 at 11:26 am
You could change the table to a view and write the appropriate instead of triggers.
September 11, 2006 at 11:17 am
I don't have experience with sql 2005. Have you tried the sql server best practices analyzer? http://www.microsoft.com/downloads/details.aspx?FamilyId=B352EB1F-D3CA-44EE-893E-9E07339C1F22&displaylang=en
September 11, 2006 at 11:10 am
Raid 5 is generally slower for writes, so I wouldn't recommend it for tempdb.
My server has the os on a raid 1,data on raid 10 and logs on raid 1.
September 10, 2006 at 2:46 pm
Are you altering the view using query analyzer, enterprise manager,...?
What error do you get?
September 8, 2006 at 6:26 pm
There isn't a performance hit (or a small one) to have multiple databases. This changes when they are on separate servers. In that case sql server might decide to pull the...
September 8, 2006 at 6:21 pm
SELECT @fullname = (ISNULL(LastName,'') + ', ' + ISNULL(FirstName,''))
NULL+something=NULL
September 8, 2006 at 4:50 am
I've enabled the following traceflags so the deadlock situation appears in the logs
dbcc traceon (1204, 3605, -1)
go
dbcc tracestatus(-1)
go
September 8, 2006 at 4:45 am
an extra vote for Andrew's solution since it allows index usage
September 8, 2006 at 4:37 am
is connection pooling on/off?
We had troubles with connection pooling off resulting in error messages like server does not exists... because the machine couldn't generate connections fast enough (or something alike)
September 7, 2006 at 5:28 am
functions on columns that participate in the join can make the optimizer decide not to use an index (not sargeable)
like convert(varchar(10),mydate1,102)=convert(varchar(10),mydate1,102)
September 7, 2006 at 5:25 am
Viewing 15 posts - 1,366 through 1,380 (of 2,044 total)