node-odbc icon indicating copy to clipboard operation
node-odbc copied to clipboard

column information from query

Open Gary-Ascuy opened this issue 10 years ago • 5 comments

Is there a way to retrieve all column information for a statement (SQLHSTMT hStmt) in nodejs API, I think this would be helpful expose that information

Gary-Ascuy avatar Jul 31 '15 17:07 Gary-Ascuy

It is not currently exposed but is a great idea. Is there anything specific you are looking for? I think data type, length/size would be helpful.

wankdanker avatar Jul 31 '15 17:07 wankdanker

yep, thanks in advance (y)

Gary-Ascuy avatar Jul 31 '15 17:07 Gary-Ascuy

Yes, in addition to type and length/size fields, I think column names would be a great addition

Gary-Ascuy avatar Aug 13 '15 19:08 Gary-Ascuy

+1 Yeah I need type and column names also, thanks in advance :smile:

Zilev avatar Aug 19 '15 17:08 Zilev

Yes it's a great idea! If a query doesn't return any data I cannot guess field types and names. :+1:

mtrezzi avatar Apr 29 '16 08:04 mtrezzi