Forum Replies Created

Viewing 15 posts - 1,276 through 1,290 (of 1,518 total)

  • RE: Using SQL CLR to execute web services

    Is there a performance benefit to calling the web service within SQL Server, pass it the required parameters retrieved from the database, retrieve the results and update the local data,...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Thanks Matt.

    Here is another interesting test from http://microsoft.apress.com/asptodayarchive/74019/sql-clr-best-practices:

    Comparing Performance

    Gert now presented some performance comparisons. He took two custom UDFs, one of which summed over a long series of numbers, while...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Using SQL CLR to execute web services

    Here is what I know so far:

    Developers want to deploy the CLR sproc to a single UTILITY SQL instance and allow linked server connections to the sproc from other instances....

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Using SQL CLR to execute web services

    Jeff Moden (4/2/2008)


    Heh... you certainly did.

    I'm mostly a data troll, so I don't really know... but my gut tells me that SQL Server probably shouldn't be calling a Web Service......

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    The interesting thing I saw was that in .NET - PI() is a constant, whereas PI() in T-SQL is a non-precise function, and POWER() seems to suck as a system...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    So - function against function, sure.

    So are you guys conceding that a CLR UDF can be much faster than a T-SQL UDF, when it comes to a complex math...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Add the sphere calculation as a direct calc, and "go for the million"

    Hi Matt,

    Can you post the script you ran to get these results?

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Restored Database current as of which txn-log backup?

    I have a database restored from a full backup + txn logs.

    Is there a way to find out what was the latest txn log applied (from system views)?

    Actually I can...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    If anything, this discussion has opened my appetite to learn more about this subject. I'm not convined, but, if in the process, I become a condemner of SQL CLR, having...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Jeff Moden (4/1/2008)

    But, the real key here is that CLR's are not necessary for 99.9% of anything you do in a database. It can all be done in T-SQL...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Jeff Moden (4/1/2008)

    You still haven't answer my other suggestion... instead of the DBA having to learn C# or whatever, what about the developers learning good T-SQL?

    Both are necessary.

    You mention...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Matt Miller (4/1/2008)


    Which is an interesting thought. The problem is - I'm pretty sure you have to flag that CLR as "unsafe" in order for it to be able...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Ask how many DBA's allow developers to have write privs to production.

    It's not about DBAs allowing devs direct access to production. It has nothing to do with that.

    It's about allowing...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    If you set up a proxy that has cmd shell privs and write a proc that does one thing well as all procs should, AND you don't allow developers...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: CLR Code to run Generic Command Prompt Commands

    Jeff Moden (4/1/2008)


    So, you're saying that a DBA must learn all possible languages that may be compiled into a CLR and have the ability to review the source code from...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Viewing 15 posts - 1,276 through 1,290 (of 1,518 total)