Closed jongleb closed 11 months ago
Now we can specify parameters with the type with the following syntax: (@param_name :: Type) or (@param_name :: Type Null) if param is nullable.
(@param_name :: Type)
(@param_name :: Type Null)
Example:
Schema:
CREATE TABLE test (x INT NULL DEFAULT 0) ENGINE=MyISAM DEFAULT CHARSET=utf8
And query
SELECT * FROM test WHERE x = (@x_arg :: Int)
Now we can specify parameters with the type with the following syntax:
(@param_name :: Type)
or(@param_name :: Type Null)
if param is nullable.Example:
Schema:
And query