SQL Query Help
Posted: Mon Jul 23, 2007 11:23 pm
can some one help me word a sql query that selects the total amount of columns in the table, ex:
====================================
id | text | text 2 |
====================================
1 | dddf | dddd
________________________________________|
2 | dddf | dddd
________________________________________|
3 | dddf | dddd
________________________________________|
4 | dddf | dddd
________________________________________|
^
||
I want it to output 4
====================================
id | text | text 2 |
====================================
1 | dddf | dddd
________________________________________|
2 | dddf | dddd
________________________________________|
3 | dddf | dddd
________________________________________|
4 | dddf | dddd
________________________________________|
^
||
I want it to output 4