Hi all, I am not too savvy when it comes to joining tables and running queries with SQL accessing mutiple tables..is there a rule of thumb when to join tables and when not to.. even when a user is working with more than one table and comparing column values?
thanks for your help in advance
User Profile
Collapse
-
-
SQL help
hi, basically I am trying to find out if there are any tables for schema sunny that doesnt have insert and update grants for testuser, Can anyone help me with this? how can I join these two ? thanks Sunny
select tabname from syscat.tables where tabschema = 'SUNNY' and type = 'T'
select tabname from syscat.tabauth where grantee = 'TESTUSER' AND INSERTAUTH = 'N' AND UPDATEAUTH = 'N' -
containers info
hi All, can anyone tell me which DB2's system table stores information about dms tablespace containers..exa mple number of used pages, number of freepages etc..
thanks,
sunny -
thats exactly what I was looking for..
thank you very much,
Sunny... -
how to adjust the column width for a result set?
Hi all,
I am retriving two columns and the result set is not fitting on the screen due to a wider column width..how can get rid of the extra spaces in between the two columns...
No activity results to display
Show More
Leave a comment: