Seddryck / NBi

NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile your test suite. Just create an Xml file and let the framework interpret it and play your tests. The framework is designed as an add-on of NUnit but with the possibility to port it easily to other testing frameworks.
http://www.nbi.io
Apache License 2.0
106 stars 37 forks source link

Question (Need Help): SQL Terminator ; or GO #673

Closed shiv24saxena closed 2 years ago

shiv24saxena commented 2 years ago

Hi Seddryck,

Happy New year. One quick question I have on SQL statement terminator. SQL SERVER support both semicolon ; and GO as script terminator. I tried to execute a CREATE VIEW statement through NBi, but it failed as script is having GO as terminator. Later I change it to ; and able to execute the script.

So my question is, in NBi do we have any attribute where I can define what terminator NBi should use or I need to do GO to semicolon conversion externally to NBi.

Thanks in advance.

Seddryck commented 2 years ago

GO is a command not a statement terminator. As such it's not supported in queries.

shiv24saxena commented 2 years ago

Thanks for your response.