Кошке
А ты подписался на rss?

Вопрос специалистам по MS SQL

by Игорь Лизунов 08.11.2008 10:19

Я не считаю себя великим специалистом по MS SQL, а уж тем более по СУБД вообще.

Я обычно не требую от продукта хитрых функций. Например, я совершенно верю в сложность эффективной реализации каскадного рекурсивного удаления записей в базе данных. Поэтому я не обижаюсь на MS SQL за то, что он не позволяет установить каскадный констрейнт, например, в иерархических сущностях (ссылка таблицы на саму себя).

Но когда я вижу, что какая-либо функция обрезана по непонятным причинам, меня это откровенно бесит. Хочется видеть мир, где каждое решение логично, а не «потому, что кто-то кого-то за что-то укусил».

Вот, например, вчера в очередной раз столкнулся с фичей MS SQL 2005.

adcd

Предположим в базе присутствует такая структура таблиц. Такое часто бывает. Также, часто бывает, что хочется сделать каскадное удаление на всех четырех связках. Так вот MS SQL этого сделать не дает, мотивируя тем, что могут быть “cycles or multiply cascade path”.

Кто-нибудь мне может рассказать, что может быть страшного, если строку из D нужно будет удалить сразу по двум причинам? СУБД умрет в муках буриданова осла, пытаясь выбрать одну из них? :-)

Есть ли такие особенности в других СУБД?

Tags: ,

Комментарии

22.07.2010 7:31:39 #

wow gold

Hello webmaster, good day. Superb post. You have gained a new fan. Please keep up the good work and I look forward to more of your great posts. Have a nice day,

wow gold | Reply

22.07.2010 8:00:04 #

aion Profitable

Great article, this has to be the single best article online.. thanks for a great blog!

aion Profitable | Reply

22.07.2010 8:02:46 #

Free WoW Gold

I really like this blog. Please continue the great work. Regards!!!

Free WoW Gold | Reply

25.07.2010 0:32:08 #

wow gold

I ran across this post doing some research for my college. I have to say you sound like a very bright person and I hope someday to be able to write as well as you. I have always envied people that can write with passion and really hit the point home.

wow gold | Reply

25.07.2010 1:29:24 #

Aion China

I was wondering if you ever considered changing the layout of your blog?  Its very well written; I love what youve got to say.  But maybe you could a little more in the way of content so people could connect with it better.  Youve got an awful lot of text for only having one or two images.  Maybe you could space it out better?

Aion China | Reply

25.07.2010 2:38:24 #

wow map coordinates

Hello webmaster I like your post

wow map coordinates | Reply

28.07.2010 16:56:19 #

wow gold

This was novel. I wished I could analyze every post, but i have to go back to work now... But I'll be back.

wow gold | Reply

28.07.2010 17:38:38 #

google game

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It's always nice when you can not only be informed, but also entertained! I'm sure you had fun writing this article.

google game | Reply

28.07.2010 18:21:29 #

wow map addon

Hey!  Thanks for the great info.  I will be back to see another post!

wow map addon | Reply

02.09.2010 16:19:30 #

ff14 gil

Is it alright if I post a link to this post from my blog?

ff14 gil | Reply

02.09.2010 17:17:29 #

SEO tips

It does seem that everybody is into this kind of stuff lately. Don��t really understand it though, but thanks for trying to explain it. Appreciate you shedding light into this matter. Keep it up

SEO tips | Reply

02.09.2010 18:52:29 #

ff14 gold

This was novel. I wished I could analyze every post, but i have to go back to work now... But I'll be back.

ff14 gold | Reply

03.09.2010 20:29:41 #

Game Show Applications

Could you pleasee provide more details on this subject??? By the way your website is amazing. Cheers!!

Game Show Applications | Reply

24.12.2010 4:48:19 #

juicy couture outlet

nice post!!!

juicy couture outlet | Reply

Добавить комментарий




biuquote
  • Комментарий
  • Предпросмотр
Loading



Спасибо BlogEngine.NET за основу блога.

Комментарии

Comment RSS