I need to get all of the table names from a database to populate a list box in VB. Can anyone please give me a little sample SQL Statement to select all of them.
sp_helpdb is in the master database. It a system stored procedure that can be executed within the context of any database. Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
The SQL Statement that ASH001 recommends works well, but it returns a table called "dtproperties" and I don't want it to be in the listbox with the other table names. Is there a way to omit this table and just populate the list box with the remaining table names. Every day above ground is a GOOD DAY!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.