I am trying to do the following:
DECLARE @command varchar (1024)
DECLARE login_curs CURSOR FOR
exec REMOTE_SERVER.someDB.dbo.generate_sql_statements
OPEN login_curs
FETCH NEXT FROM login_curs INTO @command
WHILE (@@fetch_status <> -1)
BEGIN
Exec sp_executesql @command
FETCH NEXT FROM...
I am trying to pass a control to a subroutine.
I have specified that a control is to be passed into
the method:
sub foo(ctrl as control)
.
.
.
end sub
Then:
call foo(some_control_name)
However whenever I pass a control into the method
it passes the value of the control into the method
and not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.