Is there a way to declare variables in SQLite. I’m using a combination of C# and Objective C, both of which support the addition of parameters but how do I go about declaring variables through the console or via a DBMS (Database.NET). The usual syntax of DECLARE @age INT = 3 doesn’t work.
Is there a way to declare variables in SQLite. I’m using a combination of
Share
Take a look at this one: Declare variable in sqlite and use it :
Try using Binding Values. You cannot use variables as you do in T-SQL but you can use “parameters”. I hope the following link is usefull.Binding Values