Viewing 15 posts - 44,341 through 44,355 (of 49,571 total)
You don't want to join in the where clause. It's an old join style and outer joins (which you need here) are not supported any longer.
Does this work?
SELECT entity_id,...
September 22, 2008 at 6:44 am
Should work. It definitely exists on SQL 2000. Maybe try prefixing with the master DB, though that shouldn't be necessary on SQL 2000, only on 2005 and higher.
select * from...
September 22, 2008 at 6:34 am
susantapattu (9/22/2008)
3. What will be the affect of adding a clustered & non clustered index on each and every column of a table consisting large no of rows?
Massive waste of...
September 22, 2008 at 6:29 am
From the looks of the diagram, that database has very few primary keys and no foreign keys. How are you planning on enforcing data integrity?
September 22, 2008 at 6:29 am
In simple recovery the log shouldn't grow large as old log records are automatically discarded when they are no longer necessary. If the log is growing in simple recovery, then...
September 22, 2008 at 6:23 am
Restore the full backup somewhere, apply the log backups until just before the table was dropped, then copy the table from there into the real database.
If you had a database...
September 22, 2008 at 6:21 am
It might (if you ran it) be in the plan cache. If not, and there wasn't a trace running, then no.
select * from syscacheobjects
September 22, 2008 at 6:10 am
Well if you know the databases, you could hardcode the names in the insert statements. If you don't want to do that, then this should work, providing the login that's...
September 22, 2008 at 5:49 am
Robert (9/22/2008)
September 22, 2008 at 2:23 am
Still possible. Do you know which DBs have that table (is it fixed), or does that change over time?
September 22, 2008 at 2:18 am
Sure, providing your login has rights to the other databases. You just need to use the 3 part naming - database.schema.object, so
insert into database1.dbo.user_table ...
September 22, 2008 at 1:42 am
SQLBOT (9/21/2008)
September 22, 2008 at 1:34 am
Sure. It's just a text file. You won't be able to save it, but then you shouldn't make changes to it.
September 22, 2008 at 1:30 am
Typically deadlocks are the result of poorly written code or poor indexing, but then so is bad performance in general.
Are the deadlocks recurring? If so, turn traceflag 1222 on (DBCC...
September 22, 2008 at 1:29 am
Viewing 15 posts - 44,341 through 44,355 (of 49,571 total)