Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL question.
Message
From
14/06/2001 07:21:53
 
 
To
14/06/2001 06:12:24
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00519213
Message ID:
00519220
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
You can use SELECT COUNT(*) AS RecordCount FROM TableName

As i know there is no SQL Command to return number of field, but you can use FCOUNT(), or if you use Database Engine, you can use SQLCOLUMNS and then use SELECT COUNT(*) AS RecordCount FROM TableName.



>Errr, also is it possible to use SQL command to count the number of *fields* in a table?
>
>Thanks a lot, again :)

>>Hi all,
>>
>>Are there any SQL command to count the number of records in a table?
>>
>>thanks a lot!!
Previous
Reply
Map
View

Click here to load this message in the networking platform