Is it right that only way to create stored SQL procedure is to write VBA function like the following?
Public Function CreateProc()
Dim strProc As String
strProc = "Create Procedure qryCustByCity " & _
"(prmCity varchar) as " & _
"select * from Customers where City = prmCity"
CurrentProject.Connection.Execute strProc
End Function
Or there is a more convenient way? Something like interactive command prompt would be great.