rp
asked on
Run stored code in database in runtime mode
Hi,
Is there any possibility to store code blocks in a Database and then run them in run-time mode ? Something like short codes in wordpress.
for ex.
if a = 0 then
run func1
else
run func2
endif
' Stored code
func1(byval myvar as integer) as integer
return myvar/100
end sub
Is there any possibility to store code blocks in a Database and then run them in run-time mode ? Something like short codes in wordpress.
for ex.
if a = 0 then
run func1
else
run func2
endif
' Stored code
func1(byval myvar as integer) as integer
return myvar/100
end sub
if you are referring to running commands on the sql server it is called aptly 'stored procedure'
ASKER
Hi,
No i need call vb.net functions (run vb.net commands) in runtime mode, but not inside my code. Call when i need but vb.net is called from a table in a database. Not sql.
best regards
No i need call vb.net functions (run vb.net commands) in runtime mode, but not inside my code. Call when i need but vb.net is called from a table in a database. Not sql.
best regards
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.