SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DB_Tester/DB_Columns function

    If anybody used DB_Columns function to get the column information of a table please give me the Syntax. I seem get nothing. I am also confused about "catalog-name" parameter. Can we pass "%" for this?

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Waltham, MA
    Posts
    107
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DB_Tester/DB_Columns function

    I don't know what database your using, but for SQL Server:

    DB_Columns(hdbc,catalog-name,schema-name,table-Name,column-Name)

    catalog-name = The actual name of the
    database in SQL Server.

    schema-name = The owner of the SQL Server
    database.

    Table_Name and Column_Name are just as they say.

    Since the catalog-name for SQL Server is the database name, I'm not sure if you could use "%."

    Hope that helped.

  3. #3
    Junior Member
    Join Date
    Jun 2000
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DB_Tester/DB_Columns function

    Thanks for the tip. Now it works great.

    By the Way I am using Sybase.

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:27 PM.

Copyright BetaSoft Inc.