|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Create user
Hi,
How I can create an user in DB2 and grant EXECUTE privilege on all the packages for this user? Thanks |
|
#2
|
||||
|
||||
|
query the system table
Quote:
db2 "grant connect on database to user dude" db2 "select ('grant execute on package '||rtrim(pkgschema)||'.'||rtrim(pkgname)||' to user dude;') from syscat.packages" |grep 'select' >pkgnt.sql db2 -tvf pkgnt.sql |
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > Create user |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|