Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit e1ba2d1

Browse files
authored
Merge pull request #1238 from alansingfield/patch-1
Odd behaviour of non-quoted parameter values
2 parents 6a7284b + da53a00 commit e1ba2d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/t-sql/language-elements/execute-transact-sql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ Execute a character string
230230

231231
If the value of a parameter is an object name, character string, or qualified by a database name or schema name, the whole name must be enclosed in single quotation marks. If the value of a parameter is a keyword, the keyword must be enclosed in double quotation marks.
232232

233+
If the parameter is a single word NOT enclosed in quotation marks and not beginning with @, the word will be interpreted as an nvarchar string.
234+
233235
If a default is defined in the module, a user can execute the module without specifying a parameter.
234236

235237
The default can also be NULL. Generally, the module definition specifies the action that should be taken if a parameter value is NULL.

0 commit comments

Comments
 (0)