主頁 > 知識庫 > ASP常見的保留字整理(變量與表名注意不能用)

ASP常見的保留字整理(變量與表名注意不能用)

熱門標簽:濟源電銷外呼系統(tǒng)線路 java外呼系統(tǒng)是什么 創(chuàng)意電話機器人 外呼線路批發(fā) 世界地圖標注了哪些城市 梧州市地圖標注 石家莊慧營銷外呼系統(tǒng) 地圖標注陽江 武穴地圖標注
許多人在編寫程序的時候因為貪圖方便或不小心使用到程式的保留字,有時明明程序沒有錯,就是無法正確執(zhí)行。您知道有哪些常見的保留字嗎? 

下面的都是編程程序與表名都不能使用,如果不小心使用了,就需要下面的方法解決下
當用USER作為數(shù)據(jù)庫表名時,出錯的解決辦法
1.因為User是關鍵字,所以更改表名即可解決。
2.如果不想更改表名,那么我們在操作此表時,不能用User,而應該用[User],例如:

SELECT UserName FROM [User] WHERE UserId = 1
INSERT INTO [User](UserName,PassWord) VALUES('admin','admin')。

Microsoft Access

保留字

-A
ADD
ALL
Alphanumeric
ALTER
AND
ANY
Application
AS
ASC
Assistant
AUTOINCREMENT
Avg
-B
BETWEEN
BINARY
BIT
BOOLEAN
BY
BYTE
-C
CHAR, CHARACTER
COLUMN
CompactDatabase
CONSTRAINT
Container
Count
COUNTER
CREATE
CreateDatabase
CreateField
CreateGroup
CreateIndex
CreateObject
CreateProperty
CreateRelation
CreateTableDef
CreateUser
CreateWorkspace
CURRENCY
CurrentUser
-D
DATABASE
DATE
DATETIME
DELETE
DESC
Description
DISALLOW
DISTINCT
DISTINCTROW
Document
DOUBLE
DROP
-E
Echo
Else
End
Eqv
Error
EXISTS
Exit
-F
FALSE
Field, Fields
FillCache
FLOAT, FLOAT4, FLOAT8
FOREIGN
Form, Forms
FROM
Full
FUNCTION
-G
GENERAL
GetObject
GetOption
GotoPage
GROUP
GROUP BY
GUID
-H
HAVING
-I
Idle
IEEEDOUBLE, IEEESINGLE
If
IGNORE
Imp
IN, In
INDEX
Index, Indexes
INNER
INSERT
InsertText
INT, INTEGER, INTEGER1, INTEGER2, INTEGER4
INTO
IS, Is
-J
JOIN
-K
KEY
-L
LEFT
Level
Like
LOGICAL, LOGICAL1
LONG, LONGBINARY, LONGTEXT
-M
Macro
Match
Max, Min, Mod
MEMO
Module
MONEY
Move
-N
NAME
NewPassword
NO
Not
NULL
NUMBER, NUMERIC
-O
Object
OLEOBJECT
OFF
ON
OpenRecordset
OPTION
OR, Or
ORDER
Outer
OWNERACCESS
-P
Parameter
PARAMETERS
Partial
PERCENT
PIVOT
PRIMARY
PROCEDURE
Property
-Q
Queries
Query
Quit
-R
REAL
Recalc
Recordset
REFERENCES
Refresh
RefreshLink
RegisterDatabase
Relation
Repaint
RepairDatabase
Report
Reports
Requery
RIGHT
-S
SCREEN
SECTION
SELECT)
SET
SetFocus
SetOption
SHORT
SINGLE
SMALLINT
SOME
SQL
StDev, StDevP
STRING
Sum
-T
TABLE
TableDef, TableDefs
TableID
TEXT
TIME, TIMESTAMP
TOP
TRANSFORM
TRUE
Type
-U
UNION
UNIQUE
UPDATE
User
-V
VALUE
VALUES
Var, VarP
VARBINARY, VARCHAR
-W
WHERE
WITH
Workspace
-X
Xor
-Y
Year
YES
YESNO


MySQL

ADD
ALL
ALTER
ANALYZE
AND
AS
ASC
AUTO_INCREMENT

BDB
BERKELEYDB
BETWEEN
BIGINT
BINARY
BLOB
BOTH
BY

CASCADE
CASE
CHANGE
CHAR
CHARACTER
COLUMN
COLUMNS
CONSTRAINT
CREATE
CROSS
CURRENT_DATE
CURRENT_TIME
CURRENT_TIMESTAMP
DATABASE
DATABASES
DAY_HOUR
DAY_MINUTE
DAY_SECOND
DEC DECIMAL
DEFAULT
DELAYED
DELETE
DESC
DESCRIBE
DISTINCT
DISTINCTROW
DOUBLE
DROP

ELSE
ENCLOSED
ESCAPED
EXISTS
EXPLAIN

FIELDS
FLOAT
FOR
FOREIGN
FROM
FULLTEXT
FUNCTION

GRANT
GROUP

HAVING
HIGH_PRIORITY
HOUR_MINUTE
HOUR_SECOND

IF
IGNORE
IN
INDEX
INFILE
INNER
INNODB
INSERT
INT
INTEGER
INTERVAL
INTO
IS JOIN

KEY
KEYS
KILL

LEADING
LEFT
LIKE
LIMIT
LINES
LOAD
LOCK
LONG
LONGBLOB
LONGTEXT
LOW_PRIORITY

MASTER_SERVER_ID MATCH
MEDIUMBLOB
MEDIUMINT
MEDIUMTEXT
MIDDLEINT
MINUTE_SECOND
MRG_MYISAM

NATURAL
NOT
NULL
NUMERIC

ON
OPTIMIZE
OPTION
OPTIONALLY
OR
ORDER
OUTER
OUTFILE

PARTIAL
PRECISION
PRIMARY
PRIVILEGES
PROCEDURE
PURGE

READ
REAL
REFERENCES
REGEXP
RENAME
REPLACE
REQUIRE
RESTRICT
RETURNS
REVOKE
RIGHT
RLIKE

SELECT
SET
SHOW
SMALLINT
SONAME
SQL_BIG_RESULT
SQL_CALC_FOUND_ROWS SQL_SMALL_RESULT
SSL
STARTING
STRAIGHT_JOIN STRIPED

TABLE
TABLES
TERMINATED
THEN
TINYBLOB
TINYINT
TINYTEXT
TO
TRAILING

UNION
UNIQUE
UNLOCK
UNSIGNED
UPDATE
USAGE
USE
USER_RESOURCES
USING

VALUES
VARBINARY
VARCHAR
VARYING
WHEN
WHERE
WITH
WRITE

XOR

YEAR_MONTH

ZEROFILL
您可能感興趣的文章:
  • Access保留字變量名列表
  • 驗證SQL保留字
  • php 保留字列表
  • ASP.NET系統(tǒng)關鍵字及保留字列表整理
  • Java的關鍵字與保留字小結

標簽:淮北 甘南 滁州 南寧 唐山 來賓 迪慶 揭陽

巨人網(wǎng)絡通訊聲明:本文標題《ASP常見的保留字整理(變量與表名注意不能用)》,本文關鍵詞  ASP,常見,的,保留,字,整理,;如發(fā)現(xiàn)本文內(nèi)容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《ASP常見的保留字整理(變量與表名注意不能用)》相關的同類信息!
  • 本頁收集關于ASP常見的保留字整理(變量與表名注意不能用)的相關信息資訊供網(wǎng)民參考!
  • 推薦文章