Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
T-SQL with a added field
Hello everyone,
Anyonme know how to add a field to a query? I want to add a field with the same data in all rows. Example: select name, id, company from test * There is no company field in the test table, but I want to add it to my result with all company data equal to HHA. Any help will be greatly appreicated. -- Thanks, Himansu |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
T-SQL with a added field
select name, id, "HHA" as company from test
Tim "Himansu" wrote in message ... Hello everyone, Anyonme know how to add a field to a query? I want to add a field with the same data in all rows. Example: * There is no company field in the test table, but I want to add it to my result with all company data equal to HHA. Any help will be greatly appreicated. -- Thanks, Himansu |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot Table, new field added | Excel Discussion (Misc queries) | |||
Linked excel field from access form field - help required. | Excel Programming | |||
How to make a field created a part of the Pivot Table Field List? | Excel Discussion (Misc queries) | |||
Linked date field in worksheet defaults a blank field as 1/0/1900 | Excel Worksheet Functions | |||
create formula. 1 field constant and another field varies by inpu. | Setting up and Configuration of Excel |