Viewing 15 posts - 4,561 through 4,575 (of 13,459 total)
i only had 7 csv files, but this seemed to work just fine:
note i'm assuming multiple directories as well for the csv files.
uncomment out the "--exec(sql) if you are ready...
Lowell
October 18, 2012 at 12:24 pm
ok a tiny bit of research, and i can openquery csv files with this command on either my 2008R2 or 2012 instances:
SELECT *
FROM OPENROWSET('MSDASQL',
...
Lowell
October 18, 2012 at 12:18 pm
Howard do all the files have header data as the first row?
i used to be able to do this with the Jet 32 but engine, creating the table on the...
Lowell
October 18, 2012 at 12:01 pm
ALTER TABLE SomeTable ADD CONSTRAINT UQ_Firstname_lastname_Birthdate UNIQUE (Firstname,lastname,Birthdate)
Lowell
October 18, 2012 at 10:44 am
the scriptlet i posted is what i've put in a scheduled job before;
just letting it run once a day deletes anything older than 30 days;
that's what would be my simple...
Lowell
October 18, 2012 at 7:52 am
if you know the traceId(select * from sys.traces) , you can import it into a table, or create a view for it, all from within TSQL, so you probably do...
Lowell
October 17, 2012 at 2:47 pm
if you look at your code, you have two other variables that have not been declared as parameters:
@NEW_ACCOUNT_ID
@NEW_MSISDN
you did declare @Val1 and @Val2 already;
to me it looks like you did...
Lowell
October 17, 2012 at 1:43 pm
jason if you sp_helptext sysmail_delete_mailitems_sp in the msdb database,
you'll see it's using a catch-all query to delete fromt eht able, and only one table;
after a bunch of error checking, this...
Lowell
October 17, 2012 at 11:09 am
I had to deploy a CLR similar to this issue once; it used a "custom" flavor/implementation of an AES-like encryption that was almost, but not the same as, a true...
Lowell
October 17, 2012 at 8:36 am
a really awsome TSQL based stored procedure already exists for handling database backups is part of the suite here :
that solution is peer reviewed and award winning, and...
Lowell
October 16, 2012 at 3:04 pm
ok for me the fix is easy;
there's a much better, award winning, peer reviewed and rather famous script to help handle things like reindexing.
it's been deployed by more businesses, on...
Lowell
October 16, 2012 at 2:50 pm
the microsoft documentation is here:
http://msdn.microsoft.com/en-us/library/ms152536.aspx
from what i remember, two way replication must be between non-express versions(SQL Express cannot be a distributor?), so i think you need to create both...
Lowell
October 16, 2012 at 2:44 pm
well, linked servers may not behave the way you expect;
typically here's what happens:
every row in the remote table is copied to a table in tempdb.
the update is performed on...
Lowell
October 16, 2012 at 2:32 pm
well, i think the issue's in the procedure you are talking about ...i don't think it's schema aware;
i wouldn't take the error message from the scheduled job literally(that a...
Lowell
October 16, 2012 at 2:12 pm
i think the table might be in another schema, but you are assuming it's in the dbo schema, since that's what is your default.
try this instead...what schema does it really...
Lowell
October 16, 2012 at 1:44 pm
Viewing 15 posts - 4,561 through 4,575 (of 13,459 total)