fede (fedina_no_chicca_spam@libero_spam_no.it) writes:
"Erland Sommarskog" <es****@sommarskog.se> ha scritto nel messaggio As whom do you run the INSERT statement?
I launch a script using this command line:
osql -U X -P passX -D SQLPROVA -i "Schema20040723.sql" -o "SchemaCrea.log"
So, I think the user is X....
But I don't what it's that script. It is difficult to assist when I don't
have full information of what you are doing. If that script performs
CREATE TABLE dummy (a int NOT NULL)
go
INSERT dummy (a) VALUES(12)
This should succeed. So I assume you are doing something else, but I don't
know what.
What does "sp_helprotect DUMMY" say?
It doesn't say anything...
Not even?
Server: Msg 15330, Level 11, State 1, Procedure sp_helprotect, Line 346
There are no matching rows on which to report.
By the way, what does SELECT @@version say on your server?
--
Erland Sommarskog, SQL Server MVP,
es****@sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp