Viewing 15 posts - 2,356 through 2,370 (of 49,571 total)
Correct, indexes don't show up in sys.objects. You'll find indexes in sys.indexes (they're not considered objects like tables, procedures, constraints, etc are)
September 21, 2016 at 8:13 am
BLOB_EATER (9/21/2016)
September 21, 2016 at 7:53 am
I strongly recommend you reconsider the entire process.
Leave .net out, other than to call the stored procedure. Write the load process in T-SQL in a single batch. Do the same...
September 21, 2016 at 7:00 am
Please don't post multiple threads for the same question.
No further replies here please. Replies to http://www.sqlservercentral.com/Forums/Topic1819483-3740-1.aspx
As I said in the other thread, I would recommend you not use .net, not...
September 21, 2016 at 5:48 am
A million rows is not large, and processing row by row is inefficient.
Don't do it from .net (even slower), do whatever you need as a single transaction in T-SQL.
If...
September 21, 2016 at 5:42 am
No. TempDB uses existing files, they're just cleaned on a restart. It's only if the files aren't there that it will have to create and size them.
September 20, 2016 at 1:40 pm
BrainDonor (9/20/2016)
New t-shirt for dress-down Fridays - https://www.amazon.com/Trend-Could-Thinking-Would-Great/dp/B01M0TJS26
My favourite Friday shirt (not casual fridays, because every day is casual dress) is one that I got from the MS company store...
September 20, 2016 at 1:34 pm
Phil Parkin (9/20/2016)
TomThomson (9/20/2016)
Phil Parkin (9/20/2016)
BrainDonor (9/20/2016)
But I don't know if I can - shouldn't the first full-stop be a comma? I think it...
September 20, 2016 at 1:32 pm
I don't have time to rewrite it (and no DDL anyway), but the main performance problem there is the TOP (1) ... ORDER BY in the subquery.
Try changing the subquery...
September 20, 2016 at 9:27 am
The table name is specified as a parameter
@table varchar(30)
That is horrible design and a security nightmare. Completely vulnerable to SQL Injection since no checks are done on the parameters. Terrible...
September 20, 2016 at 9:21 am
Mike Scalise (9/20/2016)
September 20, 2016 at 9:19 am
Depends
Are you talking about separate VM drives which are just virtual hard drives on the same physical device? If so, no point (other than logical separation and easier space management).
VMs...
September 20, 2016 at 9:03 am
Mike Scalise (9/20/2016)
September 20, 2016 at 8:58 am
Mike Scalise (9/20/2016)
September 20, 2016 at 8:56 am
tbague (9/20/2016)
My intention is will not accept new connections on old server, make a full backup of 2005 database, restore it in the new server with sql server 2016.
That'll work.
You...
September 20, 2016 at 4:20 am
Viewing 15 posts - 2,356 through 2,370 (of 49,571 total)