Viewing 15 posts - 2,911 through 2,925 (of 13,461 total)
i found this bat file from microsoft which is pretty much bullet proof:
it adds the current user as an administrator to the sql server that is prompted in the command...
November 20, 2013 at 6:28 am
bulk insert into a single table is incredibly fast. switching away from INSERT statements being generated to sticking the data into a local DataTable, and either syncronizing the changes or...
November 20, 2013 at 6:05 am
Beatrix Kiddo (11/20/2013)
November 20, 2013 at 5:53 am
you have to switch to dynamic SQL for the whole thing, when you try to parameterize BULK INSERT; it only accepts static strings, and not variables.
DECLARE @sql varchar(8000)
--bulk insert won't...
November 19, 2013 at 2:55 pm
easy fix for you guys.
I assume you went to this page and downloaded the procedures from Micorsoft:
http://support.microsoft.com/kb/918992
from there, all you really need to do is modify the code, so that...
November 19, 2013 at 1:58 pm
my personal rule of thumb, based on my own experiences, is that if a table has more than 50K rows, i'd rather use SSIS (or The Import/Export Wizard, technically still...
November 19, 2013 at 1:24 pm
the openquery for a simple select is what you are after, it's just what you do witht eh results(sticking them into your local table instead of displaying)
INSERT INTO...
November 19, 2013 at 12:42 pm
rebuilding the indexes updates the statsitics for the columns of the indexes, but not all the statistics for the given table.
statistics on non indexed columns let the query engine...
November 19, 2013 at 12:36 pm
Ed Wagner (11/19/2013)
November 19, 2013 at 11:33 am
don't limit yourself to think it must be a single char.
i export stuff like html in and out all the time; as a result, i use multi character delimiters that...
November 19, 2013 at 11:25 am
just a few things i'd throw in there, but it sounds like you've got it covered pretty well.
Post-Migration, make sure you rebuild statistics for all tables, in each database with...
November 19, 2013 at 11:11 am
d.velders (11/19/2013)
Does anyone have an example on how to do this or even better a...
November 19, 2013 at 8:35 am
the default length is 1.
when you use cast or convert, the default length is 30, but for column definitions, it's a single character.
November 19, 2013 at 8:06 am
this seems to work for me;
I had this saved in my snippets:
SELECT depz.referenced_schema_name,
depz.referenced_entity_name,
objz.type_desc,
...
November 19, 2013 at 7:46 am
with the data you posted, everything is older than 40 months, so i assume the item has no official value any more; i added one example to the sample data.
so...
November 19, 2013 at 7:34 am
Viewing 15 posts - 2,911 through 2,925 (of 13,461 total)