![]() |
PCDVD數位科技討論區
(https://www.pcdvd.com.tw/index.php)
- 七嘴八舌異言堂
(https://www.pcdvd.com.tw/forumdisplay.php?f=12)
- - Select 語法請教
(https://www.pcdvd.com.tw/showthread.php?t=1089783)
|
---|
Select 語法請教
當要Select 的資料表中,欄位名稱包含() 時,又怎麼下才能正常執行?
example: Select a.field1, a.field2(YY) from TableA 試過加中括號也是無效(Select a.field1, a.[field2(YY)] from TableA ) Thanks! |
Select a.field1, a.[field2(YY)] from TableA a
or Select field1, [field2(YY)] from TableA |
中括號正解~
|
所有的時間均為GMT +8。 現在的時間是11:37 PM. |
vBulletin Version 3.0.1
powered_by_vbulletin 2025。