View previous topic :: View next topic
|
Author |
Message |
soumyaranjan007
New User
Joined: 30 Aug 2006 Posts: 30 Location: mumbai
|
|
|
|
hi.
i was tring to load sequential file in to the table but i could not able to because i have not load previlages. so i want to check the all previlages
i have. can i see all previlages from any where.?
Error in Spool
=============
USER DOES NOT HAVE 'LOAD' PRIVILEGE ON TABLE 'xxxxxx.table name'
'user id' DOES NOT HAVE SUFFICIENT PRIVILEGES TO EXECUTE 'LOAD' ON DATTABASE 'xxxxxxxxxx'
UTILITY EXECUTION COMPLETE, RETURN CODE = 8
if any body have any idea, please give your needfull.
Regards
soumya Ranjan Pradhan |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
U must me having some option in tso to go to DB2 admin there after selecting DB2 SUBSYSTEM just type the table name & give T option on command line then it will show u the table then just type a against table name it will show whatever authority u have on the table.
Hope it will be helpful...
i think we can also find by a sql i m wrking on that |
|
Back to top |
|
|
sarunkumaar
New User
Joined: 31 Aug 2006 Posts: 15 Location: Chennai, India
|
|
|
|
You can check the privilage assocaited with that table by quering the SYSIBM.SYSTABAUTH.
i.e SELECT * FROM SYSIBM.SYSTABAUTH
WHERE TTNAME = 'YOUR_TABLE_NAME'; |
|
Back to top |
|
|
soumyaranjan007
New User
Joined: 30 Aug 2006 Posts: 30 Location: mumbai
|
|
|
|
Hi,
i checked in SYSIBM.SYSTABAUTH table . This table is for chack of only select, delete, update etc but not for LOAD authority.
So i am today in the same possition as yesterday. if you have any inovative ideas, do help me out.
Thanks
Soumya Ranjan Pradhan |
|
Back to top |
|
|
surya_pathaus
Active User
Joined: 28 Aug 2006 Posts: 110
|
|
|
|
Hi,
I feel Loading into table means insert into table.
If you have insert authority then you can load into table.
Check in SYSIBM.SYSTABAUTH table for "INSERTAUTH" column whether it is having value "G" or not. If it is "G" then you have Grant to insert/Load otherwise you need autherization on that table. |
|
Back to top |
|
|
|