Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to execute crexport with sql script shell #52

Open
harshitjain1 opened this issue May 29, 2020 · 2 comments
Open

how to execute crexport with sql script shell #52

harshitjain1 opened this issue May 29, 2020 · 2 comments

Comments

@harshitjain1
Copy link

using command EXEC master..xp_cmdshell

@mhertzfeld
Copy link

I have never tried running ninja with a sql script.

From what I am reading in the link below, it shouldn't be much different than calling through the normal command line. I would suggest getting it working through the command line then once you have a working command copy and paste it into you SQL script. Also, pay attention to the user account that will be executing the sql script and make sure that all the necessary permissions are granted.

https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/xp-cmdshell-transact-sql?view=sql-server-ver15

@aj1432
Copy link

aj1432 commented Feb 22, 2022

Please share example SQL Query Step by step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants