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 can i implement the same desktop back ground image on all the computers on my domain
Auto- Numbers in oracle
Interview Question & Answer for Windows Server 2008
Link between Windows 7 activation and Windows 7 Experience Index
nokia e72 gprs maps not working fine in london
Dropdownlist - add value
In .net, how can i write a userID and password validation method using linq?
How to diagnose and fix a messed up keyboard
Can't Uninstall Exchange Server 2007 SP1 from 2008 server R2
Creat textbox(s) in Excel to enter 3 sets of numbers and then store them joined in one cell