May 7, 2007 #1 xweyer MIS Sep 7, 2000 140 US I'm new to TSql and am trying to interpret a line of code which reads.... SELECT 'ASSET' Category,id, program, "id" and "program" are fields from the source table but "Category" is not. So what is it? An alias of some sort?
I'm new to TSql and am trying to interpret a line of code which reads.... SELECT 'ASSET' Category,id, program, "id" and "program" are fields from the source table but "Category" is not. So what is it? An alias of some sort?
May 7, 2007 1 #2 gmmastros Programmer Feb 15, 2005 14,910 US That is a method of 'hard coding' data. Every record returned by the query will appear to have a column named Category with a value of ASSET. -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom Upvote 0 Downvote
That is a method of 'hard coding' data. Every record returned by the query will appear to have a column named Category with a value of ASSET. -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom