Hi,
Keep getting this error msg:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'ON'.
Msg 319, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.
When I try to do this:
CREATE STATISTICS ON myTable WITH FULLSCAN
This is the correct syntax, yes?
Thanks
Keep getting this error msg:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'ON'.
Msg 319, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.
When I try to do this:
CREATE STATISTICS ON myTable WITH FULLSCAN
This is the correct syntax, yes?
Thanks