Click here to Skip to main content
15,889,704 members
Home / Discussions / Database
   

Database

 
GeneralRe: Problem connecting to sql server 2008 database from sql server 2005 express.. Pin
Nada Adel25-Sep-09 3:47
Nada Adel25-Sep-09 3:47 
GeneralRe: Problem connecting to sql server 2008 database from sql server 2005 express.. Pin
Henry Minute25-Sep-09 4:14
Henry Minute25-Sep-09 4:14 
AnswerRe: Problem connecting to sql server 2008 database from sql server 2005 express.. Pin
Nisha Agrawal25-Sep-09 2:39
Nisha Agrawal25-Sep-09 2:39 
GeneralRe: Problem connecting to sql server 2008 database from sql server 2005 express.. Pin
Nada Adel25-Sep-09 2:43
Nada Adel25-Sep-09 2:43 
GeneralRe: Problem connecting to sql server 2008 database from sql server 2005 express.. Pin
Nada Adel25-Sep-09 3:17
Nada Adel25-Sep-09 3:17 
AnswerRe: Problem connecting to sql server 2008 database from sql server 2005 express.. Pin
Nisha Agrawal25-Sep-09 4:10
Nisha Agrawal25-Sep-09 4:10 
GeneralRe: Problem connecting to sql server 2008 database from sql server 2005 express.. Pin
Nada Adel25-Sep-09 4:15
Nada Adel25-Sep-09 4:15 
QuestionTrying to copy a SQL server 2005 database Pin
Jane Williams25-Sep-09 0:21
Jane Williams25-Sep-09 0:21 
We have a database on a SQL 2005 server. We'd like to take an exact copy of it, on the same server (yes, I know this isn't the ideal place for a true dev system), giving the result a name such as mydbname_dev, so as to use it for test purposes.

When I right-click on the database, I see under Tasks an option called "Copy database", which sounds perfect. Only, it doesn't work. Examination of log files tells me that "The login already has an account under a different user name." OK. More Googling suggests that I need to "remove the default associated objects transfer for LOGINS". This means using the "Select Database Objects" screen. Which I can't find... and further investigation shows that it doesn't appear if you're copying to the same server.

Is it really impossible to use "copy database" to simply copy a database?

Any suggestions as to a better way of going about this? I want the new copy to be identical in every way except name to the production database, so we can use it to test out some scripts before we run them on the real thing, and I'd like the copy method to be as simple as possible, to avoid the chances of me introducing an error by typo, or by omitting some vital step.
AnswerRe: Trying to copy a SQL server 2005 database Pin
Eddy Vluggen25-Sep-09 1:18
professionalEddy Vluggen25-Sep-09 1:18 
GeneralRe: Trying to copy a SQL server 2005 database Pin
Jane Williams25-Sep-09 2:04
Jane Williams25-Sep-09 2:04 
QuestionDate Problem Pin
Syed Shahid Hussain24-Sep-09 22:51
Syed Shahid Hussain24-Sep-09 22:51 
AnswerRe: Date Problem Pin
J4amieC24-Sep-09 23:06
J4amieC24-Sep-09 23:06 
GeneralRe: Date Problem Pin
Syed Shahid Hussain25-Sep-09 1:23
Syed Shahid Hussain25-Sep-09 1:23 
AnswerRe: Date Problem Pin
David Skelly25-Sep-09 2:26
David Skelly25-Sep-09 2:26 
GeneralRe: Date Problem Pin
Syed Shahid Hussain25-Sep-09 2:37
Syed Shahid Hussain25-Sep-09 2:37 
AnswerRe: Date Problem Pin
PIEBALDconsult26-Sep-09 4:47
mvePIEBALDconsult26-Sep-09 4:47 
GeneralRe: Date Problem Pin
Syed Shahid Hussain26-Sep-09 5:11
Syed Shahid Hussain26-Sep-09 5:11 
QuestionQueries On SQL Job [modified] Pin
Payal_e_m24-Sep-09 14:04
Payal_e_m24-Sep-09 14:04 
QuestionSELECT INTO or CREATE TABLE Pin
bxlorenz24-Sep-09 10:30
bxlorenz24-Sep-09 10:30 
AnswerRe: SELECT INTO or CREATE TABLE [modified] Pin
Blikkies24-Sep-09 19:22
professionalBlikkies24-Sep-09 19:22 
GeneralRe: SELECT INTO or CREATE TABLE Pin
bxlorenz25-Sep-09 4:22
bxlorenz25-Sep-09 4:22 
QuestionDisplay few columns in datagridview. Pin
jeshra27924-Sep-09 8:30
jeshra27924-Sep-09 8:30 
AnswerRe: Display few columns in datagridview. Pin
Dave290924-Sep-09 12:49
Dave290924-Sep-09 12:49 
AnswerRe: Display few columns in datagridview. Pin
Syed Shahid Hussain24-Sep-09 22:19
Syed Shahid Hussain24-Sep-09 22:19 
QuestionHow do I automatically backup my sql server 2005 express database on another server? Pin
Nada Adel24-Sep-09 2:15
Nada Adel24-Sep-09 2:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.