Viewing 15 posts - 5,761 through 5,775 (of 7,191 total)
If you take a full backup immediately before running the log backup job, does it still fail? It's possible that someone is running a BACKUP LOG WITH TRUNCATE_ONLY or...
August 23, 2010 at 8:16 am
So please can we see DDL for the dependent tables, as well as for the foreign key constraints between them and the Product tables? Would you also be looking...
August 23, 2010 at 6:44 am
Abhijit
Surely you just create a table with an identity column, and then insert the values from your two tables into it? If this is too simplistic, then please describe...
August 23, 2010 at 5:56 am
Nayak
Try this
CREATE TABLE #Sequence (
-- Don't include hotel_name because might affect performance
-- inserting these values if you have a very large table.
-- You will want to test that this benefit...
August 23, 2010 at 2:57 am
Nayak
You've posted in the SQL Server 7,2000 forum. Please will you confirm that you are indeed using one of those platforms? If you're using SQL Server 2005 or...
August 23, 2010 at 1:59 am
OK, I may be wrong on this, and feel free to correct me if I am, but isn't an Object type variable for holding results sets? You use it...
August 20, 2010 at 8:20 am
1. Full database backups should indeed be done regularly, although they won't make any difference to this situation.
2. Whether to shrink the log depends on whether it is expected to...
August 20, 2010 at 6:47 am
What data type is your variable StartDateTime? Why are you converting it to a datetime data type and then to a string data type?
John
August 20, 2010 at 6:14 am
Aarathy (8/20/2010)
My query is about performance issue.
Well, I don't think you have any choice. Data integrity is more important than performance. Experiment with temp tables, staging tables, outer...
August 20, 2010 at 4:54 am
Or, if the duplicates are definitely all within the text file (and not duplicates of data that's already in the destination table) then you don't need a lookup - you...
August 20, 2010 at 4:45 am
I think it's your quotation marks. You need a double quote at the beginning of the expression. You also need to make sure that all of the non-numeric parameters...
August 20, 2010 at 4:34 am
You need to join back to your original table to get this. Something like this (not tested because you didn't supply any table DDL or sample data):
WITH LatestJob AS...
August 20, 2010 at 2:01 am
InfiniteError (8/19/2010)
August 20, 2010 at 1:48 am
Viewing 15 posts - 5,761 through 5,775 (of 7,191 total)