Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Is it possible to do a column count?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-02 : 08:35:11
John writes "I am trying to create a sql statement for sql server 6.5 that does a column count for columns that have the name "Field" in them. Is this possible?

SELECT count(*)columns
FROM qd
WHERE columnname like 'Field%'"
   

- Advertisement -