Microsoft® Excel® based database addin

 

+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    dave.syrett@tiscali.nl is offline Junior Member
    Join Date
    Mar 2009
    Posts
    2

    Default UDF's & Stored Procedures

    Hi,

    Does this application support the use of UDF's & Stored Procedures?

    I have tried using a UDF in the criteria box for a field & the string appears to be converted to Text...

    Thanks,
    Dave

  2. #2
    admin's Avatar
    admin is offline Administrator
    Join Date
    Apr 2008
    Location
    Dublin, NYC
    Posts
    333
    Blog Entries
    1

    Default Re:UDF's & Stored Procedures

    Hi Dave

    Hard for me to anwser this cleanly. Would say that stored procedures should be ok (not by design) but could not anwser for the UDFs. In theory I would say they should work though.. So not clear why there was a problem. I will take a look into this when I get a chance. Please could you let me know which db system you are using ?

    The addin is essentially a wrapper around the ADO library so if it works from ADO it should work from the addin. This said, the addin was setup for running SELECT Statements - and you cant use it for running active queries (queries that will modify the data). For this purpose, there some validation added it - to try to limit the SQL statements to SELECTS.. This validation was not done right (my mistake) so essentially you should be able to run SPs. And same for UDFs. But there must be something weird with the UDFS.. I will try to investigate this as soon as I can..

    Sorry, I cant give a better anwser. If I had done things as was planned I could say that neither should work. But things got a bit off track so SPs should be fine. And UDFs should be too as far as I know.. But I never tested this..
    have a good night
    Al
    SQL Drill Support
    www.sqldrill.com


  3. #3
    dave.syrett@tiscali.nl is offline Junior Member
    Join Date
    Mar 2009
    Posts
    2

    Default Re:UDF's & Stored Procedures

    Hi,

    Thanks for the response...

    I am running DB2 on an i5 (AS400), I did manage to get stored procedures to work, but the UDF syntax is converted to a string, so never gets past that.

    I hope that helps,
    Dave

  4. #4
    admin's Avatar
    admin is offline Administrator
    Join Date
    Apr 2008
    Location
    Dublin, NYC
    Posts
    333
    Blog Entries
    1

    Default Re:UDF's & Stored Procedures

    Thanks alot Dave

    Am trying to install DB2 Express-C tonight (the free one) and will try to replicate the issue. Will take me a few days to get a chance to set this up as busy with day job..

    Thanks again for the feedback. If you have any criticisms or suggestions it would be very cool. I do quick testing on DB2 when there is a new release but very little so it is great to get feedback from people using DB2.

    Have a nice night.
    Al
    SQL Drill Support
    www.sqldrill.com


  5. #5
    aldo is offline Junior Member
    Join Date
    Mar 2010
    Posts
    1

    Default

    Greetings!

    I too am interested in working with the UDFs and stored procedures in our SQL server db.

    I want to be able to do UPDATE as well.

    Is this possible with SQLDrill?

    Thanks.

  6. #6
    admin's Avatar
    admin is offline Administrator
    Join Date
    Apr 2008
    Location
    Dublin, NYC
    Posts
    333
    Blog Entries
    1

    Default

    Hi Aldo

    Sorry but SQL Drill cannot be used to run UPDATES at the moment (by design).

    You can use it for Stored Procedures though. Have not had any problems that I can remember with different database systems.. But please let me know if you do have any issue.

    For UDFs - have you tried to embed them into you SQL statements ? I have not tried that yet. If you have a chance to test this out it would be a big help.

    A future version of SQL Drill will have all the functionality you mentioned by the way...

    Please let me know if you need any further information and I will do my best to help.

    Have a good day

    Al
    SQL Drill Support
    www.sqldrill.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts