can we count number of columns in a table i want to know ..............can i count the number if columns are already exist in a table+oracle
Try this query: SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMN WHERE TABLE_NAME in ('yourtablenamehere') Here is the link to the information http://forums.devshed.com/ms-sql-development-95/sql-count-columns-449206.html