C
Ciro Fonseca
Hi there!!!
Whell, I'm having a strange problem with Exceptions when
i'm working with Threads in the ThreadPool and acessing a
SQL Server DataBase...
Sometimes during the execution of the program, a exception
is thrown in the line that executes some SQL in the
Database, but the strange think is that the Description of
the exception don't have nothing to do with my Sql
Command.... for example: I'm selecting a row from the
database:
"select * from pubs"
but the error that is returned to me, is someting like:
" INSERT statement conflicted with COLUMN FOREIGN KEY
constraint 'FK_Clients' The conflict occurred in
database 'Test', table 'Clients'"
You see? very strange, don't you think?
what the table Clients have to do with pubs? and
why "Insert Statement" if I don't even wrote a "Insert"
command?
Some help?
Thanks in Advance...
[]'s
Ciro Fonseca
Whell, I'm having a strange problem with Exceptions when
i'm working with Threads in the ThreadPool and acessing a
SQL Server DataBase...
Sometimes during the execution of the program, a exception
is thrown in the line that executes some SQL in the
Database, but the strange think is that the Description of
the exception don't have nothing to do with my Sql
Command.... for example: I'm selecting a row from the
database:
"select * from pubs"
but the error that is returned to me, is someting like:
" INSERT statement conflicted with COLUMN FOREIGN KEY
constraint 'FK_Clients' The conflict occurred in
database 'Test', table 'Clients'"
You see? very strange, don't you think?
what the table Clients have to do with pubs? and
why "Insert Statement" if I don't even wrote a "Insert"
command?
Some help?
Thanks in Advance...
[]'s
Ciro Fonseca