Stored procedure run location

  • All,

    I have a remote MySQL database which has IP based security restrictions. If I create a stored procedure on a SQL Server 2000 instance and run it from a client will it run on the server or on the client?

    I don't want to open up the IP restrictions to all our machines but I could open it up to allow the SQL server to have access.

    Sorry for the basic question.

    Thanks

    Andrew

  • all code, whether a TSQL statment or a procedure, is executed on the SQL server, and the results(if any) are returned to the client.

    so if you have a linked server to your mySQL database, the calling machine is the SQL server.

    does that help?

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • That really helps, thank you.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply