How to do - MS SQL C# Excel Access
Wednesday, 8 February 2017
MSSQL - Fix Error - Must declare the scalar variable
Watch on YouTube
To fix it replace
Select Replace(LastName, @ReplaceText, 'ggggggg') as p from Customers
with
Declare @ReplaceText varchar(1) = 'a'
Select Replace(LastName, @ReplaceText, 'ggggggg') as p from Customers
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment