Re: DB export/Import looses users - SQL7
From: Andrew J. Kelly (akelly@targitinteractive.com)
Date: 05/17/02
- Next message: me: "limit user connect from internet?"
- Previous message: Jakob Persson: "Problems with SQL Srv. Agent and Proxy Account"
- In reply to: Pete Dowling: "Re: DB export/Import looses users - SQL7"
- Next in thread: David SheafferMS: "RE: DB export/Import looses users - SQL7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Andrew J. Kelly" <akelly@targitinteractive.com> Date: Fri, 17 May 2002 08:11:54 -0400
That is certainly not the way you want to go about reducing the size of your
log file. Take a look at DBCC SHRINKFILE in BooksOnLine for a better
alterative. If it is growing too large then you should either increase your
backup interval on the log files or set the recovery mode to Simple. If
you have deleted the DB then there is no way to get those users back unless
you manually re-enter them. You can use EM to script out all the parts of
the database before you delete the DB. Right click on the Database and
choose "All Tasks" and then "Generate SQL Script". One of the tabs will
allow you to script out the users.
-- Andrew J. Kelly SQL MVP Targitinteractive, Inc. "Pete Dowling" <Pete.dowling@uk.nestle.com> wrote in message news:488a01c1fd82$0377c040$3bef2ecf@TKMSFTNGXA10... > The transaction log was too large, so I deleted the DB & > re-created the DB to retrieve & re-size the transaction > log. But, the users were deleted. > Pete > >-----Original Message----- > >The data has nothing to do with users. The users are > attached to the > >database not the data or a table. A user can be an > object owner but they > >belong to the DB. How are you importing these? > > > >-- > >Andrew J. Kelly SQL MVP > >Targitinteractive, Inc. > > > > > > > >"Pete Dowling" <pete.dowling@uk.nestle.com> wrote in > message > >news:3e8b01c1fcd9$5ecb0230$b1e62ecf@tkmsftngxa04... > >> Can I export / import db users ? > >> When I export & import tables & data (to retrieve > >> transaction log space), all users are dropped, and have > to > >> be re-created - can users be exported ? > >> Thanks > >> Pete > > > > > >. > >
- Next message: me: "limit user connect from internet?"
- Previous message: Jakob Persson: "Problems with SQL Srv. Agent and Proxy Account"
- In reply to: Pete Dowling: "Re: DB export/Import looses users - SQL7"
- Next in thread: David SheafferMS: "RE: DB export/Import looses users - SQL7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|