I am getting this error when I try to delete rows from my database. I realize why I am getting this error from this link: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sqlanywhere.12.0.1/saerrors/errm198.html

How can I get around this? I am working in C#.

asked 10 Jan, 14:07

solomond's gravatar image

accept rate: 100%

Alright sorry I think I figured out the problem. When creating the table, I was setting it to "on delete restrict." I changed it to "on delete cascade" and it now works.

permanent link

answered 10 Jan, 15:26

solomond's gravatar image

accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Jan, 14:07

question was seen: 255 times

last updated: 10 Jan, 15:26