Viewing 15 posts - 5,761 through 5,775 (of 7,185 total)
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
Everything you need to know has already been posted here - you just need to do a bit of reading. To summarise:
(1) Create a clustered index on all tables...
August 20, 2010 at 1:38 am
ashish.kuriyal (8/19/2010)
You will definately see the difference.
if it still growing, then you need to find...
August 19, 2010 at 4:15 am
I won't go into why you shouldn't shrink your database - you can search this site and you'll find plenty of references. If you must do it, do it...
August 19, 2010 at 3:54 am
1. That's fine.
2. sp_helpdb
3. Don't shrink your database. If you need more space, add it. Are you performing regular maintentance on your indexes?
John
August 19, 2010 at 3:39 am
Enclose the column name in square brackets ([]).
John
August 19, 2010 at 3:16 am
Viewing 15 posts - 5,761 through 5,775 (of 7,185 total)