On Friday, June 7, 2019 at 7:32:16 AM UTC-7, Allan Peda wrote:
>
> I am finishing a port to of a data load script to sequel, and I just need
> to call a procedure.
>
> It's a procedure we use at my company to normalize/clean a table
> (previously which was called via DBI using the ".do" method).
>
> It returns no values and takes no arguments. Let's call it my_proc.
>
> It seems this works:
>
> DB['EXEC my_proc'].call(:update)
>
If it returns no values and takes no arguments and that is the SQL to use,
I would do:
DB.run("EXEC my_proc")
Thanks,
Jeremy
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/ddd86f55-9ae1-486a-bfe3-1eb9711ca618%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.