Re: Set identity_insert
- From: "Arnie Rowland" <arnie@xxxxxxxx>
- Date: Wed, 30 Aug 2006 11:44:30 -0700
You did not indicate that the problem is with creating a table.
A role (or user) MUST have CREATE TABLE permission in order to create
tables.
It would help us better assist you if you could include table DDL, query
strategy used so far, sample data in the form of INSERT statements, and an
illustration of the desired results. (For help with that refer to:
http://www.aspfaq.com/5006 )
The less 'set up' work we have to do, the more likely you are going to have
folks tackle your problem and help you. Without this effort from you, we are
just playing guessing games.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Ch." <trotroyanas@xxxxxxxxxxx> wrote in message
news:%23RleuNGzGHA.480@xxxxxxxxxxxxxxxxxxxxxxx
yes ok,
but the profil don't have right to create table !
and he does use command SET IDENTITY_INSERT
but have not right for use it !
what right i make on user for unlock this command ?
thanks
"Arnie Rowland" <arnie@xxxxxxxx> a écrit dans le message de news:
OdGaFnFzGHA.480@xxxxxxxxxxxxxxxxxxxxxxx
You don't grant permissions to the SET IDENTITY_INSERT statement.
Use the statement before an INSERT.
SET IDENTITY_INSERT dbo.MyTable ON
INSERT INTO MyTable
SELECT ....
SET IDENTITY_INSERT dbo.MyTable OFF
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Ch." <trotroyanas@xxxxxxxxxxx> wrote in message
news:elRaEHFzGHA.3360@xxxxxxxxxxxxxxxxxxxxxxx
hi,
i have a login with role who have rights
Grant Select, update, insert, delete, view definition to onLine --online
is role
but i want to attribute right SET IDENTITY_INSERT on my role
how can i do it ?
thank's
.
- References:
- Set identity_insert
- From: Ch.
- Re: Set identity_insert
- From: Arnie Rowland
- Re: Set identity_insert
- From: Ch.
- Set identity_insert
- Prev by Date: Re: Set identity_insert
- Next by Date: Re: Set identity_insert
- Previous by thread: Re: Set identity_insert
- Next by thread: Re: Set identity_insert
- Index(es):
Relevant Pages
|
|