We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3380d41 commit 41fb9b9Copy full SHA for 41fb9b9
src/test/net/sourceforge/jtds/jdbc/StatementTest.java
@@ -100,7 +100,7 @@ public void testBug500()
100
stmt.executeUpdate( "insert into #Bug500 values(" + i + ")" );
101
}
102
103
- stmt.executeUpdate( "set SHOWPLAN_ALL on" );
+ stmt.executeUpdate( "set " + ( isMSSQL() ? "SHOWPLAN_ALL" : "SHOWPLAN" ) + " on" );
104
// or stmt.execute( "set SHOWPLAN_ALL on" ); - doesn't matters
105
106
stmt.execute( "select top 5 * from #Bug500" );
0 commit comments