Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Table names of sql server

hwnahkhwnahk Member Posts: 18
aoa
I want to get SQL SERVER Table names (i have made a odbc driver and pass database name like: Sale)
how i get all table names in a combobox

thanks & regard

Comments

  • BarkeeperBarkeeper Member Posts: 335
    : aoa
    : I want to get SQL SERVER Table names (i have made a odbc driver and pass database name like: Sale)
    : how i get all table names in a combobox
    :
    : thanks & regard
    :


    Well, there is the nice ODBC-API called "SQLTables" ......

    Before that there is the allocation of the Environment, the Connection and the Statement-Handle, then you call "SQLTables", after that you have to call "SQLBindCol" with assigning a variable to bind the Data, after that you have to call "SQLFetch" or "SQLFetchScroll", and finally getting the Data with "SQLGetData".

    Fun, isnt it?

    *evilgrin*

    Barkeeper
    ------------------------------------------
    Only stupidity of mankind and the universe
    are infinite, but i'm not sure concerning
    the universe. A. Einstein

Sign In or Register to comment.