CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: How Do I....

  1. #1
    Join Date
    Sep 2001
    Posts
    254

    How Do I....

    is there a way to print SQL table and its Field names,

    10x
    cyrus

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: How Do I....

    I think the quickest way would be to make a stored procedure, and then execute the stored procedure

  3. #3
    Join Date
    Apr 2009
    Posts
    394

    Re: How Do I....

    Take a look at ADO's Fields collection
    ADO Collection Summary

    Collection Description
    Errors All the Error objects created in response to a single failure on a connection.
    Parameters All the Parameter objects associated with a Command object.
    Fields All the Field objects associated with a Recordset object.
    Properties All the Property objects associated with a Connection, Command, Recordset or Field object.

    Good Luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured