Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am really struggling with getting the column names from a MS Access table, I have been googling for some time now and can not seem to find an example that works.

 

Any help would be really apreshiated

 

Thanks in advance

 

Simon

Posted

I forget the Access Keywords, but something like this should work for you.

 

SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.Columns where TABLE_NAME = <table_name>

I have not tested this; it may be SQLS only.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...