Results 1 to 1 of 1

Thread: get column name [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    get column name [Resolved]

    Here's what I want to do: I have a query that fetches all the data in one shot because all the data is in one record. I echo the data using a counter variable. What I'd like to be able to do is echo the column name at the same time. So is there a way to get a column name by just specifying the column?

    I hope that makes sense.

    Edit: nevermind... mssql_field_name did the trick.
    Last edited by ober0330; Aug 27th, 2004 at 09:54 AM.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

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