MSSQL,使用「@」:
SELECT * FROM Products WHERE ProductID = @N
MySQL,使用「?」:
SELECT * FROM Products WHERE ProductID = ?N
Oracle,使用「:」:
SELECT * FROM Products WHERE ProductID = :N
PostgreSQL,使用「$」:
SELECT * FROM Products WHERE ProductID = $N
沒有留言:
張貼留言