Skip to content

Utilize Azure Functions as CLR replacement for Azure SQL Database #188

Open

Description

@OsirisDBA

With the introduction of the ability to call sp_invoke_external_rest_endpoint from all Azure SQL Databases this leads to a possible solution to the CLR issue where the CLR function could be reimplemented as a set of Azure Functions.

I see a couple areas of concern.

  • Is it even possible to duplicate the functionality in Azure Functions
  • How much duplication and complexity would this introduce
  • How would this be deployed and maintained for end users

Activity

  1. asos-martinsmith commented on Jun 1, 2023

    @asos-martinsmith

    Personally I now see little value of running tSQLt tests in Azure.

    I find that I can just use SQL Server 2022 localdb for all my testing needs.

    It does mean that potentially I can't quite use the latest and greatest syntax as and when new syntax gets introduced in Azure but I'm OK with that for the convenience of being able to run on my local machine without having to provision something in Azure.

    It is also true that there might be some behavioural differences between localdb and Azure but I don't expect those to impact the unit testing of business logic that tSQLt is for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions