You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE TABLE A (A integer)
CREATE VIEW V AS SELECT * FROM A
DROP TABLE A //with ExecuteReader() -> No exception
DROP TABLE A //with ExecuteNonQuery() -> throw the excaption: cannot delete COLUMN A.A there are 1 dependences.
If you use ExecuteNonQuery() then the exception will come up but if you use ExecuteReader() it will not come up.
Submitted by: fish (fishcodelib)
CREATE TABLE A (A integer)
CREATE VIEW V AS SELECT * FROM A
DROP TABLE A //with ExecuteReader() -> No exception
DROP TABLE A //with ExecuteNonQuery() -> throw the excaption: cannot delete COLUMN A.A there are 1 dependences.
If you use ExecuteNonQuery() then the exception will come up but if you use ExecuteReader() it will not come up.
Commits: fbf5789
The text was updated successfully, but these errors were encountered: