ArticlesArticles Most Helpful ArticlesMost Helpful Articles Language SettingsLanguage Settings LoginLogin
RSS Feeds
DrillDown Icon Table of Contents
DrillDown Icon MX
DrillDown Icon MANUALS and Other Info for SQL MANEX Client Server
DrillDown Icon Customer Relationship Management (CRM)
DrillDown Icon ManEx Minute
DrillDown Icon ManEx Component Exchange
DrillDown Icon ManEx Supplier Directory & Rankings
  Email This ArticlePrint PreviewPrint Current Article and All Sub-Articles
 
How can I find table and column names in SQLManex
Q: How can I find table and column names in SQLManex?

A: 

You would need access to the SQL database manager. We have a stored procedure called "mnxRetrieveSchema", which will gather information about all the tables (or given tables using @tableNames parameter) and all columns (or given columns (using @columnNames parameter)

Here is example on how you can use it:

exec mnxRetrieveSchema  ---- will return all tables all columns and types of the columns
exec mnxRetrieveSchema  @tableNames= 'Inventor,Customer'   ---- will return all columns for Inventor and Customer Table
exec mnxRetrieveSchema  @columnNames= 'Custno'   ---- will return all tables, which contains 'Custno' columns

Article ID: 5898