User Profile

Collapse

Profile Sidebar

Collapse
bhakhra
bhakhra
Last Activity: Apr 5 '08, 11:59 PM
Joined: Jan 20 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bhakhra
    started a topic sql confused
    in DB2

    sql confused

    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
    See more | Go to post
    Last edited by bhakhra; Apr 3 '08, 08:34 PM. Reason: TYPO

  • bhakhra
    started a topic SQL help
    in DB2

    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'
    See more | Go to post

  • bhakhra
    started a topic containers info
    in DB2

    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
    See more | Go to post

  • thats exactly what I was looking for..
    thank you very much,

    Sunny...
    See more | Go to post

    Leave a comment:


  • bhakhra
    started a topic how to adjust the column width for a result set?
    in DB2

    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...
    See more | Go to post
No activity results to display
Show More
Working...