Viewing 15 posts - 2,221 through 2,235 (of 2,636 total)
Dan,
You could import into a "staging" table with separate name columns, then concatenate as you move the data from there to your "real" table.
Greg
September 22, 2005 at 1:04 pm
Francois,
Please post the error message you're getting and the format of your source file, and which DTS task you're using to import the data.
Thanks,
Greg
September 21, 2005 at 5:08 pm
Rob,
Try this:
insert into new_table
select * from old_table
where not exists(select * from new_table
where new_table.clinickey = old_table.clinickey
and new_table.providerkey = old_table.providerkey
and new_table.phonecalltypekey =
old_table.phonecalltypekey)
providing the 3 columns make up...
September 21, 2005 at 9:18 am
You probably have a corrupt index in the database. Drop and recreate the indexes to fix.
Greg
September 20, 2005 at 5:37 pm
Sorry, that's what I was trying to get at. I don't work with Access databases a lot and I've never password protected one. I'm glad you figured it out.
Greg
September 20, 2005 at 5:04 pm
Sharon,
To prevent views from being imported as tables, you should use "copy objects and data between SQL servers" instead of the option "Copy table(s) and View(s) from source database" in...
September 20, 2005 at 4:50 pm
In addition to creating a linked server connection, use OPENQUERY in your stored procedure to send a pass-thru query to the remote database. See "Distributed Queries" in Books OnLine.
Greg
September 20, 2005 at 11:54 am
Sharon,
Remi's suggestion is good. You could also use DTS to transfer objects between SQL Server databases and choose just the objects you want to put into your test database.
Greg
September 20, 2005 at 9:33 am
I don't think this forum software has that option. You could post it in the suggestions forum.
Greg
September 20, 2005 at 9:24 am
What you do is run a script in Query Analyzer to generate ALTER TABLE DROP CONSTRAINT and ALTER TABLE ADD CONTRAINT statements for the foreign keys. Copy the statements into Execute SQL...
September 20, 2005 at 9:02 am
Jacob,
I usually ignore the login and password for Access unless the Access database has had login enabled for a workgroup.
As for mapping differently named columns between an Access table and...
September 19, 2005 at 4:51 pm
Are you certain that the developer is not a member of any other database role that may have DELETE permission?
Greg
September 19, 2005 at 1:12 pm
Our setup isn't anything like yours, so I don't know if you can glean anything useful from it.
We do twice weekly full database backups, daily differential backups, and hourly...
September 13, 2005 at 1:07 pm
IMHO, the easiest way to move packages is to open them in DTS Designer on the source server and "save as" to the destination server.
Greg
September 12, 2005 at 5:02 pm
Viewing 15 posts - 2,221 through 2,235 (of 2,636 total)