Selecting Limited Column From Table
i have 1000 columns in table want select first 400 columns
what is the syntax
reading
maanish chandra kumar
what is the syntax
reading
maanish chandra kumar
you have construct dynamic sql statement required column names this. know column names , follow particular pattern c1,c2... etc?
if yes easy construct sql statement, otherwise have to call sp_columns <tablename> list of columns , construct dynamic sql statement needed
this posting provided "as is" no warranties, , confers no rights
SQL Server > SQL Server Data Access
Comments
Post a Comment