Cloning Database And Connecting Users

Jan 31, 2008

Hi Patrons,

Can any one tell me how and what are the steps to Clone the Database and how do the set of users (lets say 300) will be connected to that Cloned Database.

Your helping steps would be appreciated.

Thanks

View 1 Replies


ADVERTISEMENT

CLONING SQL DATABASE

Jan 28, 2008

Tengo una aplicacion desarrollada en POWERBUILDER y accede a una base de Datos SQL, deseo utilizar la misma aplicacion para acceder a otra base de Datos SQL en el mismo servidor. La segunda Base de Datos tiene que ser inicialmente un clon del original para hacer pruebas con los mismos usuarios. A nivel de la aplicacion puedo solucionar cambiando los parametros de nombre de base de datos, pero como puedo hacer a nivel del servidor?.

View 2 Replies View Related

CLONING SQL DATABASE

Jan 28, 2008

Tengo una aplicacion desarrollada en POWERBUILDER y accede a una base de Datos SQL, deseo utilizar la misma aplicacion para acceder a otra base de Datos SQL en el mismo servidor. La segunda Base de Datos tiene que ser inicialmente un clon del original para hacer pruebas con los mismos usuarios. A nivel de la aplicacion puedo solucionar cambiando los parametros de nombre de base de datos, pero como puedo hacer a nivel del servidor?.

View 1 Replies View Related

Database Cloning

Nov 23, 2006

Using SQL Server 2005 Express.I need to periodically duplicate an entire database and rename it. Mosttables are empty but some are to be prepopulated. I was thinking of havinga "template" database called perhaps "EmptyDatabase", and then copy thatinto a freshly created database with a new name.Has anyone coded anything like this?Thanks.GS

View 3 Replies View Related

Why Out Of The Blue Would VPN Users Be Unable To Connect To Database And Local Users Are Unaffected?

Mar 6, 2008

I have had this issue just pop up. I have local users who can connect fine, but my users that require connection by VPN cannot connect. I get the server not available or access denied error. I did confirm that the VPN'ers are connected to the network correctly and can see that their shares and mappings are correct. Any ideas? Thanking you all in advance!!

View 6 Replies View Related

Connecting Trace Info To Blocked Users?

Sep 22, 2005

In master.dbo.sysprocesses I can filter for blocked users (Blocked >0)and I can create a self join(ON SPID = Blocked) to see what userLoginame is causing the block. In the column [cmd] I can see thecommand that the offending blocker is running to cause the block, butit only says "SELECT" etc. with no details about the stored procedurethat is causing the block.If I am running a Trace, I can see the exact stored proceduresincluding the parameters that every cmd is running.Is there a way to see that same Trace information when looking forblocked users in master.dbo.sysprocesses, or in some other place?Ideally what I want is a list of blocked users, who is causing theblocks and the stored procedure name (or other mischief) causing theblock.Any help is appreciated.lq

View 17 Replies View Related

Connecting Users From ASPNETDB.MDF To A Shopping Cart And Order History

Jan 2, 2007

I'm trying to figure out how to associate users in my ASPNETDB.MDF to create a shopping cart.IE: I have 3 tables, for a list of existing orders, list of products, and list of specific orders.The idea is for users who've signed up with the built-in user creation control, can then place orders from the shopping cart, and view their existing previous orders. This would normally be done with a unique UserID # to associate orders with specific users, however I don't BELIEVE there's anything like UserID's associated with each user in the ASPNETDB.MDF, it just uses usernames as the unique identifiers right?Anyway I'm not sure I'm explaining what I'm trying to do perfectly and I apologize, but I don't think it's an un-common problem I'm having. Basically I'm trying to avoid having to have existing ASPNETDB users create a sort of SECOND user that would associate them into a seperate Customers table, it seems like extra user steps that shouldn't be necessary.

View 1 Replies View Related

Difference Between Database -- &&> Users And Security --&&> Users

Nov 28, 2006

Hi Team,

In SQL Enterprise Manager, when we expand "Database -->Users", we see the

users there. When we expand "Security --> logins" we see the same users there.

Can you differentiate these two.

Thanks

Santhosh

View 1 Replies View Related

Cloning

Dec 15, 2007

Hi,

how to clone a database in sqlserver and what are the pre-requisites
we need to take care before doing that if it is a production server,,, since we can not bounce the database ...

View 3 Replies View Related

SQL 6.5 And Disk Cloning

Mar 23, 1999

We need a drive cloning app, like Ghost, that will allow us to transfer a production image off of a HDD to other PCs. The problem with this is that
our production needs SQL in order to run and transferring the initial image to uniquely named workstations causes DB registration problems. Is there
an app that will allow us to configure this transferred image so that SQL will refer to the "new" drive instead in of the "old"?

View 2 Replies View Related

Server Cloning

Feb 6, 2008

Hi,
Can anyone provide the docs or steps for cloning a server.

RKNAIR

View 4 Replies View Related

Cloning A Table

Jul 23, 2005

In my .NET code, with SQL Server 2000 as the backend, I need to create anexact copy, without data, of an existing table in the same database, thatthe user selects from a combo box. Any ideas on how to do this?

View 1 Replies View Related

CLONING PACKAGES

Apr 9, 2007

I loved the DTS feature that allowed saving DTS package as a VB model. With a bit of coding you could generate a number of packages from one template.

Are there any analogous solutions for SSIS? I cannot find anything.

My goal is simple. I have an ETL step that transfers data from staging dimension table to the corresponding star schema table in the subject matter database. I have two types of packages for SCD type 1 and type 2. Do you have any suggestions on how I can clone packages so that I don€™t have to go manually through each of them to replace certain items such as stored procedure names, etc.


Thank you!

View 18 Replies View Related

Cloning A PC With SQL Server 2005

Apr 14, 2008

Guys!!

How are you all? Im new to this forum as you can probably tell. I have joined up because i need advice in a matter and this seems like the best pace on the net for SQL Server help. Let me outline first what im trying to do;

Im part of a large company of roughly 5000 or so desktops and 3000 or so laptops. We currently have a project under way where we inted to build 50 or so identical laptops that will be used for testing mechanical equipment. Now the team involved have designed there own program that will connect to a main server in Head Office and transfer over the updated SQL server databases on the latop. every couple of days after doing tests, this tests - stored in a SQL DB - will be synced with the server to prevent loss of data.

Now my queston, is it possible to Clone an operating system with the following apps already installed;
SQL Server 2005
SQL Server Nature Client
SQL Server Setup Files
SQL Server Vss Writer

I made an inital clone, but when i went into the user groups, i found SQL server users with a PC name of the inital 'base build' PC. It seems these accounts cannot be copied from one machine to another.

Will the SQL database still run fine, or will there be big problems when copnnecting the the Server in Head Office?

Would it be better to just install the SQL Server components after a new latop has been created?

Anyway any help at all would be great on this matter, cheers!!

View 7 Replies View Related

Migrating (cloning?) DTS Mapping

Apr 17, 2007

I have a DTS package on SQL Server 2000 that loads a table from a text file daily. The text file has 148 distinct fields that are mapped to a corresponding 148 columns on the table. I need to recreate the package to SQL Server 2005. Is there any shortcut to replicating the mapping from DTS to SSIS or do I need to redo from the beginning?

View 1 Replies View Related

Restore Of Database Backup To Another Database Makes Users DBO

May 7, 1999

Anybody figure a way around this:

In a development server you take a backup and you want to move the entire database to a production server. The production server does not contain the database, users, or logins in master.

When you restore the backup to production in 7.0, the users get moved to DBO because the logins do not exist and then you cannot delete them.

We are having to drop the users from the database on development, back up the database and restore it to production, then recreate the users on production.

This is bogus and did not happen in 6.5 because of the aliases.

Anybody come up with a better way?

View 1 Replies View Related

After Replicating A Database, SP's In The Same Database Are Not Able To Modify By Other Users.

May 21, 2008

hi there,

After replicating a database, the stored procedures in that same database are not able to edit by other users than service account (sys admin users), When the normal users try to edit any of the stored procedures, sql server 2005 is throwing the following error...

Msg 21050, Level 16, State 1, Procedure sp_MSmerge_ddldispatcher, Line 12Only members of the sysadmin fixed server role or db_owner fixed database role can perform this operation. Contact an administrator with sufficient permissions to perform this operation.

any suggessions are most welcome.

by
CHINNASAMY

View 1 Replies View Related

Right Code Statements Of SqlConnection && ConnectionString For Connecting A Database In Database Explorer Of VB 2005 Express?

Feb 14, 2008

Hi all,

In the VB 2005 Express, I can get the SqlConnection and ConnectionString of a Database "shcDB" in the Object Explorer of SQL Server Management Studio Express (SSMSE) by the following set of code:
///--CallshcSpAdoNetVB2005.vb--////

Imports System.Data

Imports System.Data.SqlClient

Imports System.Data.SqlTypes

Public Class Form1

Public Sub InsertNewFriend()

Dim connectionString As String = "Data Source=.SQLEXPRESS;Initial Catalog=shcDB;Integrated Security=SSPI;"

Dim connection As SqlConnection = New SqlConnection(connectionString)

Try

connection.Open()

Dim command As SqlCommand = New SqlCommand("sp_insertNewRecord", connection)

command.CommandType = CommandType.StoredProcedure
.......................................
etc.
///////////////////////////////////////////////////////
If the Database "shcDB" and the Stored Procedure "sp_inertNewRecord" are in the Database Explorer of VB 2005 Express, I plan to use "Data Source=local" in the following code statements to get the SqlConnection and ConnectionString:
.........................
........................

Dim connectionString As String = "Data Source=local;Initial Catalog=shcDB;Integrated Security=SSPI;"

Dim connection As SqlConnection = New SqlConnection(connectionString)

Try

connection.Open()

Dim command As SqlCommand = New SqlCommand("sp_insertNewRecord", connection)

command.CommandType = CommandType.StoredProcedure
........................
etc.

Is the "Data Source=local" statement right for this case? If not, what is the right code statement for my case?

Please help and advise.

Thanks,
Scott Chang

View 6 Replies View Related

Users Database

Jan 31, 2008

how can i create a users database to store users infos (names pictures...) ??
thx for taking time to read this

View 2 Replies View Related

Accessing Database Users

Feb 8, 2007

Hi,
 I would like to know if there is any way of Accessing database users from frontend and changing their persmissions.
Thanks
Niranjana. 
 

View 10 Replies View Related

Users Not Listing In Database.

Jan 25, 2001

Hello Experts,

I copied a database from my production server to the development server and now i dont see the users in the database from the enterprise manager,database and users folder. But, When i run a query to against the sysuser table from a query analyser I can see those users here. Why cant I see in from the Enterprise manager. Any advice please..


Appreciated any comments on this.
Thanks,

Vilke.

View 2 Replies View Related

How To Force Users From A Database?

Dec 1, 2000

Does anyone know a way to force out all users from a particular database? I need to script this to perform some maintenance at a particular time every day.

Thanks for your help,

Les

View 2 Replies View Related

Dropping Users In Database

Dec 23, 1999

Is there a way in SQL to drop any users from a database. I am trying to schedule some nightly DB maintenance and some users are still in there sometimes. I need to be able to kick the out to do dbcc checkdbs, etc. Is there a way for me to do this without stopping the SQL services?

View 3 Replies View Related

Database Users...URGENT!!

Jun 15, 2000

I restored a database from one full backup.The users are missing now in the new databse.When I try to create the same users again it says that they are already existing!Please help what shall I do to restore/recreate the users?Do I need to do anything with the Master?

View 4 Replies View Related

Copying Users From One Database To Another

Feb 25, 2001

I have a question regarding copying users from one server to another that are running different versions of Microsoft Sequel Server.

I have Server A running 6.5 version and Server B running 7.0 version. How can I copy just the list of users from Database1 on Server A to Database2 on Server B.

Can anyone help me.

Thanks.

Lakshmi.

View 2 Replies View Related

Users Cant Access New Database

Dec 22, 2004

EMERGENCY 911 HELP PLEASE

Ok I created a database SQL is the engine and Access XP is the gui. When the users try to access the databae they get error message, it opens up but they cant open the forms for some reason. I was wondering if this had to do with me have Access XP and them having Access 2000, but I highly doubt it because when I had a user log on to my machine (which has access xp) they still were not able to access the forms. Can someone help me out PLEASE PLEASE PLEASE... this is so frustrating :(

One thing I'm noticing is that the users connection keeps dropping???

View 12 Replies View Related

Export Database Users

Nov 1, 2005

Hi, guys

I has a question for you:

How can i Export the users and permisions and restore it again?

Thanks in advance

View 4 Replies View Related

No Dbo For A Database - But There Are Db_owner Users

Aug 27, 2006

I have a number of user databases who have lost their owner. That is, displaying properties for the database says the owner is unknown.

I assume that any user for such a database that's assigned to the db_owner role can admin everything in this database? Which means that the lack of a dbo doesn't cause any other problem than making it impossible to run a sp_helpdb for the database, or...?

Of course I'd like to make someone the owner, but it seems difficult to make an already existing database user the owner, without dropping the user and re-creating it.

View 3 Replies View Related

Is There A SP That Will Logout Users From A Database?

Oct 3, 2007

Hi,

I looked everywhere in System Stored Procedure docs for MSDE 2005 and I cant find a stored procedure that will force logout users from a database.

Is there such a thing? If not, is there another way?

Thanks,

View 6 Replies View Related

Creating Database And Users

Apr 12, 2007

Ok I just installed SQl 2005 for the very first time. I used a service account(domain admin)and Windows NT authentication to install SQL.

Now I am setting up Mcafee EPO on a different server. This application can either install MSDE or use a sql database. I want to use my new SQL server.

What are the best practices to :
a)create database on SQL
b)create a user
c)what permissions to give this user

For example during installation of Mcafee EPO it is asking me name of the remote SQL server, authentication method(Windows or SQL)and the user account.

I am starting to read about SQL but need some quick answers. I need to do the same thing for my SMS 2003 installation. Thanks.

View 4 Replies View Related

Tracing Users Of A Database

Jun 13, 2007

Hi

As a newbie to DBA type tasks, how can I trace who has accessed the server/database. I know there is a SPID in the Server log but what does this represent?

Thanks!

View 6 Replies View Related

Track Database Users

Sep 20, 2007

I am an advanced user of MS Access and other databases but relatively new to SQL Server. I am utilizing SQL Server Express to analyze a database that was created by another entity. I am interested in looking at any specific record in any table and seeing who created that record, what date/time the record was created, who edited the record, when that edit occurred, etc. I don't see any such fields in the database. Would the designer of the database have to have explicitly added such functionality, or is this information available but just hidden from the novice's view?

Thanks for your help.

View 1 Replies View Related

SQL Users / Database Moves

Sep 26, 2007

Alrighty.... I'm a long time listener and a first time caller here.
I've been reading multiple topics dealing with my issue but none seem to really address what I'm doing.

We have 3 separate enviroments, Dev, QA, and Prod. Quite frequently we have a database that gets moved from our Dev Server to QA, or QA to Prod, or Prod to QA ect...

What we have been doing is when a database is moved, it holds all of the actual database logins, but when you look within the actual server logins there's nothing there (dealing w/ that specific database). So we then have to go first through all of our logins on the database write them down, then go one by one and create them on the server.

I'm wondering if there is a more simple way to be doing this to cut down on our administration time?

3/4 of our ID's on the database are all linked through our Domain using windows authentication. And since we keep all of our "application/local SQL ID's" enviromentally separate. (each ID XXX has its own ID for Dev, QA and Prod... XXXdev, XXXqa, and XXXprod) so we'll have to do those manually anyways, but I'm really hoping someone has a solution to this timely administration process!

Thanks for all of your help!
-Randy

Information Security Analyst
Securian Financial Group
St.Paul Mn,

"When you do things right, people won't be sure you've done anything at all."
Bender Bending Rodríguez - Futurama

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved