Microsoft
Software
Hardware
Network
Question : Column Name in query
I have a table and I need to get the column name as part of the query
so a table like this
column1 column2 column3 column4 column5
0 0 87.4 0 0
0 0 0 0 1848.65
I need to query so I get output like
columnName,value
column3 87.4
column5 1848.65
the column names will change.
Answer : Column Name in query
You can indeed use CreateTableDef() to create tables directly into a specified database, but it's probably easier to execute a SELECT INTO query with an IN claues to copy the imported data from the current database into the other database.
Random Solutions
How to auto start apache serve at boot time in Ubuntu
Using CSS to format inside of a table cell
How to figure out ssl authorization for lftp on Linux
Windows 2008 upgrade from Foundation to Standard
Turn off sharing wizard group policy
Using a Hyperlink on a form to run code in MS Access
Connecting Outlook 2007 to Exchange 2010 a Password is required each time outlook is opened
MYSQL UNION RETURNS DUPLICATE DATES
DDos Protection on Cisco Pix 515E
DB2 temporary table - How long does a DB2 Session last? What is the Session's lifespan?