473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

IMPORT with REPLACE piveleges needed

Can anyone confirm that the privelges needed to do an IMPORT with
REPLACE have changed from 7.x to 8.x in DB2 UDB? I am finding the
following definition in the online books for version 8 of DB2. I
thought that the last line of only needing INSERT, SELECT and DELETE
was not present in the security definition for this operation in v7,
anyone confirm? The reason I am asking is we have some user id's that
have control privelges on tables for what I remember being to
specifically being able to do an IMPORT with REPLACE. It would appear
they no longer need the CONTROL privelege anymore.

IMPORT to an existing table using the REPLACE or REPLACE_CREATE option,
requires one of the following:
- sysadm
- dbadm
- CONTROL privilege on the table or view
- INSERT, SELECT, and DELETE privilege on the table or view

Spencer

Nov 12 '05 #1
2 1595
If I understand and know my privileges correctly, this should read:
For IMPORT ... REPLACE_CREATE: CONTROL privilege on the table or view
would be the minimum required as the table/view is dropped..
For IMPORT ... REPLACE: DELETE and INSERT should be the
minimum required.
Obviously, if one is DBADM or SYSADM then those privileges are there by
default.

HTH, Pierre.

Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"stabbert" <sp*****@tabbert.net> a écrit dans le message de
news:11**********************@f14g2000cwb.googlegr oups.com...
Can anyone confirm that the privelges needed to do an IMPORT with
REPLACE have changed from 7.x to 8.x in DB2 UDB? I am finding the
following definition in the online books for version 8 of DB2. I
thought that the last line of only needing INSERT, SELECT and DELETE
was not present in the security definition for this operation in v7,
anyone confirm? The reason I am asking is we have some user id's that
have control privelges on tables for what I remember being to
specifically being able to do an IMPORT with REPLACE. It would appear
they no longer need the CONTROL privelege anymore.

IMPORT to an existing table using the REPLACE or REPLACE_CREATE option,
requires one of the following:
- sysadm
- dbadm
- CONTROL privilege on the table or view
- INSERT, SELECT, and DELETE privilege on the table or view

Spencer


Nov 12 '05 #2
Did the priveleges needed to do a IMPORT with REPLACE change from 7.x
to 8.x?

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Peter L. Buschman | last post by:
I have a package tree laid out like this foo/bar/module/submodule foo/bar/module/submodule/test foo/bar/module/submodule/test/test1.py foo/bar/module/submodule/test/test2.py .... What I...
3
by: Joost | last post by:
Hello, I am using the LOAD DATA INFILE command to import a text file into mysql. However, there is much more text in the file than needed in my tables. How can I make a selection from the...
5
by: Johnny Meredith | last post by:
I have seven huge fixed width text file that I need to import to Access. They contain headers, subtotals, etc. that are not needed. There is also some corrupt data that we know about and can...
4
by: Steve Jorgensen | last post by:
I'm restarting this thread with a different focus. The project I'm working on now id coming along and will be made to work, and it's too late to start over with a new strategy. Still, I'm not...
23
by: Shane Hathaway | last post by:
Here's a heretical idea. I'd like a way to import modules at the point where I need the functionality, rather than remember to import ahead of time. This might eliminate a step in my coding...
10
by: leonel.gayard | last post by:
Hi all, I have a script responsible for loading and executing scripts on a daily basis. Something like this: import time t = time.gmtime() filename = t + '-' + t + '-' + t + '.py' import...
1
by: JC | last post by:
I have a table which is replicated for after images only. I tried to do an import using the replace option into the source table with data. For some of the rows, they were not in the import file,...
2
by: lwhite | last post by:
MS SQL 2000 sp4 on WinXp Pro SP2 I am very new to this so please let me know what I can do to make it easier for you to understand the problem. I have a non delimited text file. This text...
5
by: Gruik | last post by:
Hi people, I'm currently working on python embedding with C++. My goal is that the C++ part handle files writing/reading so that the Python part only works with buffers. I succeeded in buffer...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.