Viewing 15 posts - 8,866 through 8,880 (of 13,461 total)
you want to read the windows registry to get the collation before the installation, i think?
I'm only sure of how to get it afterwards....maybe you could run a script to...
August 26, 2010 at 5:46 am
doh the script i posted was coded for tempdb specifically, this will work in any old database:
SELECT
SCH.schema_id, SCH.[name] AS schema_name,
...
August 26, 2010 at 5:39 am
Bhuvnesh (8/26/2010)
@lowelli am not able to see the required "include column" . i can only see the system related info.
run my script against any database; look at the column...
August 26, 2010 at 4:57 am
for files originating from unix, i've always used ROWTERMINATOR = '\r' ({slash r} if the forum doesn't like to print it),
otherwise regualr PC files get {slash n}
August 26, 2010 at 4:46 am
sys.index_columns has a 0/1 column named is_included_column;
here's a script example that pulls some of that info out into a comma delimited list that i use for scripting out indexes:
SELECT ...
August 26, 2010 at 4:41 am
also if you don't actually turn off the original satellite servers, change all the databases to read only on the old servers the moment you switch over;
it will help...
August 25, 2010 at 12:03 pm
loki1049 (8/25/2010)
Lowell, are you saying that you would join your imported data to a view to get the appropriate values, and then place it into the staging table?
what i...
August 25, 2010 at 11:52 am
you need to do two things;
you'll need a Tally Table so you have all the possible values for your comparison;
second , you have to get your data into a table,...
August 25, 2010 at 11:03 am
dtopicdragovic (8/25/2010)
August 25, 2010 at 9:16 am
my table is similar, where we have an ID, cityname,state;, witht he PK being on the identity column ID, but with a unique constraint on cityname,state; at least in the...
August 25, 2010 at 8:34 am
one of the options when you do a full backup is the "Copy Only Backup" command, which allows you to take a full backup without disrupting the existing trnasaction/differential backups...
August 25, 2010 at 7:13 am
i know SSIS is built for this, but I always end up using what i know well...like you suggest, i do it the way you describe: bulk insert into a...
August 25, 2010 at 3:30 am
i believe the error you are seeing is because the service MSDTC (Distributed Transaction Coordinator)
must be running on both servers in order to support the cross instance transaction; you'll need...
August 25, 2010 at 3:24 am
low hanging fruit, my friend; so easy i couldn't resist 😀
August 25, 2010 at 3:15 am
looks like all you are missing is the FROM clause:
update ct_user
set dbo.nt_name = [ct_users1$]._nt_name
FROM [ct_users1$]
where dbo.ct_user.name = dbo.[ct_users1$]._staffName
August 25, 2010 at 3:07 am
Viewing 15 posts - 8,866 through 8,880 (of 13,461 total)