Giter VIP home page Giter VIP logo

Comments (9)

yorek avatar yorek commented on September 28, 2024 1

Following on what @dzsquared proposed, maybe we can just use the word input-type instead of file-type so that it can be a bit more open to what it accepts as values, and then we can use sql-command as an option to indicate that the SQL query is provided right in the yaml file, in a new dedicated property, for example: command.

 input-type:
    description: 'The input type. Options: sql-file, project-file, dacpac, sql-command'
    required: true
 sql-command:
    description: 'In case input type is sql-command, the sql command that will be executed'
    required: false

from sql-action.

dzsquared avatar dzsquared commented on September 28, 2024 1

As work as been underway on v2, the proposed interface is revised to simplify and allow the potential for extension to additional sqlpackage commands.

  • The action parameter has become required and the file-type parameter is removed from the proposal.
  • The arguments option is specified as sqlpackage-arguments

(this is being updated in the post above as well)

from sql-action.

github-actions avatar github-actions commented on September 28, 2024

This issue is idle because it has been open for 14 days with no activity.

from sql-action.

dzsquared avatar dzsquared commented on September 28, 2024

I’ve been involved in some discussions where its come up that it would be really helpful to run some queries/TSQL commands that are generated during the pipeline without going through the step of writing it to file. This is part of what we’ve taken away from being able to pass sqlcmd variables in, although even that wasn’t especially intuitive.
Could the addition of a file-type value along the lines of sql-query (or interactive-query, sql-command, run-command) be helpful for your use cases?

from sql-action.

github-actions avatar github-actions commented on September 28, 2024

This issue is idle because it has been open for 14 days with no activity.

from sql-action.

github-actions avatar github-actions commented on September 28, 2024

This issue is idle because it has been open for 14 days with no activity.

from sql-action.

zijchen avatar zijchen commented on September 28, 2024

As work as been underway on v2, the proposed interface is revised to simplify and allow the potential for extension to additional sqlpackage commands.

  • The action parameter has become required and the file-type parameter is removed from the proposal.
  • The arguments option is specified as sqlpackage-arguments

(this is being updated in the post above as well)

After further discussion and user feedback, we have replaced the script action with go-sqlcmd in #113. We are keeping the arguments input from v1 to be for additional sqlpackage arguments when Publishing to database, and be for additional sqlcmd arguments when Script action is used. This has been updated in the description above.

There are some breaking changes from the go-sqlcmd arguments that may require changes to your yaml files still: https://docs.microsoft.com/en-us/sql/tools/go-sqlcmd-utility?view=sql-server-ver16#breaking-changes-from-sqlcmd

from sql-action.

dzsquared avatar dzsquared commented on September 28, 2024

Work for v2 is nearing completion and is available for testing through https://github.com/azure/sql-action/tree/v2

Prior to release at https://github.com/Azure/sql-action/releases the v2 work can be used for evaluation and we appreciate you reporting any issues you find.

There are a few items to finish up in the v2 milestone and we anticipate the release will be ready in September.

from sql-action.

github-actions avatar github-actions commented on September 28, 2024

This issue is idle because it has been open for 14 days with no activity.

from sql-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.