Click here to Skip to main content
15,900,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
i want to query on system generated column in sql server to write select query on column which not having the column name i.e surrogate key like as 1,2,3,4,5,.....which generated by system
i want to write select statement on this so please help ..
Posted
Comments
Stephen Hewison 19-Jun-13 3:17am    
Can you give an example of a how to create a "system generated column"?
CHill60 22-Jun-13 8:29am    
As per the comment above - what do you mean by a "system generated column"? If you are referring to an identity column (which is automatically populated by the DBMS) then you should still be able to determine the column name. Use the Improve question link to post some details e.g. a sample select statement

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900