web tools rank checker

domain .cn
.net .cn .com.cn
你正在阅览 :: 简体中文:: 学习 ASP SQL VB HTML code

学习 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在阅览 :: 简体中文 Chinese_Simplified

学习.主题:
首页
ASP
. Active-Server-Flash
. Array
. Connection
. Count
»Select-Count
. Counter
. Distinct
. Email
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
. Request
. Response
. Server
. Server-CreateObject
. ServerVariables
. Session
. Special-Symbols
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....学习.教学 > ASP > count » select-count

3w learning

count >
select-count

Title:

Select count(*) from aTable


算出共有几列资料
Description:

Count SQL aggregate function Select count(*) from aTable Select count(Distinct Field) from aTable rem: field= column name


SQL聚合函数

查出共有几列资料
若加上Distinct 则为不重复的数据列数
Example Code:

example 1 <% SQL="Select count(*) from aTable" set RS=conn.Execute(SQL) RS("aColumnName") %> example 2 <% SQL="Select count(file_name) as counts from "&Table&" " set RS=conn.Execute(SQL) response.write "<hr>"&RS("counts")&"<hr>" response.write "<hr>"&RS(0)&"<hr>" %>


Example Result:



..
...
...

[ 7/27/2008 ]

www learning school add more scripts and tips memo
You are at >>3WS.EZER.COM >> 3WS.EZER.COM/ASP/COUNT/SELECT-COUNT.ASP>>ASP
Helpful link:: SEO web tools :: Live PR | SERP checker
back to top Ezer code adding :: Questions ;email