Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

傳回一個字串,其中指定字串的字元順序反轉。

語法

StrReverse ( 表示 式)

必要 表達式 自變數是字元必須反轉的字串。 如果 expression 是零長度字串 (“) ,則會傳回零長度字串。 如果 expressionNull,則會發生錯誤。

範例

Expression

結果​​

SELECT strReverse (ProductID) AS ReversedID FROM ProductSales;

從資料表 「ProductSales」 以反轉字元順序傳回 「ProductID」,並在 ReverseID 欄中顯示結果。

字串函數及其使用方法

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×