• Post Reply Bookmark Topic Watch Topic
  • New Topic

sql doubt

 
MInu
Ranch Hand
Posts: 517
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the command for viewing all the tables in sybase.ie like show tables in other db sqls.
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sp_help and sp_helptable (I think) will give you that info. You can also go straight to the system tables, e.g. select * from sysobjects where type = 'U' (user tables).

Jules
 
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!