aboutsummaryrefslogtreecommitdiff
path: root/mssql/stored-proc
diff options
context:
space:
mode:
Diffstat (limited to 'mssql/stored-proc')
-rw-r--r--mssql/stored-proc/driver.cxx1
-rw-r--r--mssql/stored-proc/test.hxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/mssql/stored-proc/driver.cxx b/mssql/stored-proc/driver.cxx
index 2878486..afb5fe5 100644
--- a/mssql/stored-proc/driver.cxx
+++ b/mssql/stored-proc/driver.cxx
@@ -182,7 +182,6 @@ main (int argc, char* argv[])
"AS"
" DECLARE @id INT;"
" DECLARE @ret INT;"
- " DECLARE @tbl TABLE(dummy INT);"
" EXEC @ret = insert_object_id @n, @s, @id OUTPUT;"
" SELECT @ret, @id;");
diff --git a/mssql/stored-proc/test.hxx b/mssql/stored-proc/test.hxx
index d302630..cb02920 100644
--- a/mssql/stored-proc/test.hxx
+++ b/mssql/stored-proc/test.hxx
@@ -44,7 +44,7 @@ struct select_objects
std::string str;
};
-#pragma db view query("EXEC objects_min_max_odb (?)")
+#pragma db view query("EXEC objects_min_max_odb")
struct objects_min_max
{
unsigned int num_min;