domain .tw idv.tw .com.tw
你正在閱覽 :: 繁體中文:: 學習 ASP SQL VB HTML code

學習 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在閱覽 :: 繁體中文 Chinese_Traditional

學習.主題:
首頁
ASP
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
. Count
. Select
»SUM
»top
SQLserver
VBscript
XML

SiteMap

3w....學習.教學 > SQL > select » top

3w learning

select >
top

Title:

select top 100 records


選取前100筆資料
Description:

select top 100 from a table and order by a field


資料表中選取前100筆資料
Example Code:

example 1: <% SQL= "select top 100 * from table_name order by field_name " %> example 2: selsect top 100 and order by text time form <% "select top 100 * from table_name order by cast(text_time as datetime) DESC" %>


範例1:
由一資料表中選取前100筆資料

範例2:
由一資料表中選取前100筆資料,並以某資料欄位大小來排序
Example Result:



..
...
...

[ 11/20/2008 ]

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