Microsoft
Software
Hardware
Network
Question : Re-use generated field in MS SQL Server?
On Microsoft SQL Server 2008, I want to select like this:
1: 2: 3:
Select Field1 = Convert(VarChar(25), 'MyString'), Field2 = Field1
However that generates the error:
Msg 207, Level 16, State 1, Line 3
Invalid column name 'Field1'.
For several views I'm writing, multiple modified/generated fields are instanced multiple times, and I'd like to avoid re-writing the same field generation/modification code.
Thanks!
Answer : Re-use generated field in MS SQL Server?
I also located the system admins guide here:
http://download.support.xe
rox.com/pu
b/docs/WC7
655_WC7665
/
userdocs/
any-os/en/
WC-7655-76
65-7675_SA
G-final.pd
f
Random Solutions
Quick Launch Tool Bar
Airport Code with reverse geo coding with google maps api
Problem With Date() function
IPSEC access into ASA via second Internet connection
Best way to find out what a user has access to on a file server
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
threads in mfc
Run the first php script in background - When done - run the next script ...
Count number of occurances in a string
VSS Quit Working