Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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 '18, 14:07

solomond's gravatar image

solomond
71338
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 '18, 15:26

solomond's gravatar image

solomond
71338
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

By RSS:

Answers

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:

×31
×13
×8

question asked: 10 Jan '18, 14:07

question was seen: 1,634 times

last updated: 10 Jan '18, 15:26