Forget having to type Select col1,col2,col3 from table name. Simply pass the name of the table and a select statment will be automatically generated for you. Note: this is only for use with ISQLW or other tools which can view the results of a print statement.
Author: Ron West
Download Script:
sp_select7.sql
sp_select.sql
Download Script:
sp_select.sql for SQL 6.5
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…
Disclaimer Continued
Back to Database Journal Home