<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3210090</guid>
        <pubDate>Fri, 28 Sep 2012 06:17:11 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3210090</link>
        <description><![CDATA[Игорь Акопян: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=364904&view=findpost&p=3209013'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>var_fj54j &#064; <time class="tag-quote__quoted-time" datetime="2012-09-26T12:37:00+04:00">26.09.12, 08:37</time></span><div class='quote '>Невозможно удалить объект &quot;РасхНакладные&quot;, так как на него ссылается ограничение FOREIGN KEY., пытаясь выполнить sql инструкцию DROP TABLE Таблица</div></div><br>
а где и кто вам сказал делать Drop table????<br>
<br>
truncate делает удаление данных из таблицы, почти как delete * from tab, только быстрее]]></description>
        <author>Игорь Акопян</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3209073</guid>
        <pubDate>Wed, 26 Sep 2012 10:27:42 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3209073</link>
        <description><![CDATA[Павел Калугин: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=364904&view=findpost&p=3209036'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Akina &#064; <time class="tag-quote__quoted-time" datetime="2012-09-26T09:24:07+00:00">26.09.12, 09:24</time></span><div class='quote '><strong class='tag-b'>Paul_K</strong><br>
Нет. И я даже представить не могу, кому и зачем это может понадобиться.</div></div><br>
Автору. Ну раз нет то нет.]]></description>
        <author>Павел Калугин</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3209036</guid>
        <pubDate>Wed, 26 Sep 2012 09:24:07 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3209036</link>
        <description><![CDATA[Akina: <strong class='tag-b'>var_fj54j</strong><br>
Повторяю:<br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=364904&view=findpost&p=3208772'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Akina &#064; <time class="tag-quote__quoted-time" datetime="2012-09-25T17:00:38+00:00">25.09.12, 17:00</time></span><div class='quote '>заполняй в ПРАВИЛЬНОМ порядке</div></div><br>
И ещё повторяю:<br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=364904&view=findpost&p=3208772'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Akina &#064; <time class="tag-quote__quoted-time" datetime="2012-09-25T17:00:38+00:00">25.09.12, 17:00</time></span><div class='quote '>TRUNCATE TABLE </div></div><br>
<hr><br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=364904&view=findpost&p=3209013'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>var_fj54j &#064; <time class="tag-quote__quoted-time" datetime="2012-09-26T08:37:00+00:00">26.09.12, 08:37</time></span><div class='quote '>Может кто знает как бороться с foreign key? </div></div><br>
Я знаю. <br>
Во-первых, читать документацию. До понимания. <br>
Во-вторых, читать то, что тебе пишут. Тоже до понимания.<br>
<hr><br>
<strong class='tag-b'>Paul_K</strong><br>
Нет. И я даже представить не могу, кому и зачем это может понадобиться.]]></description>
        <author>Akina</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3209013</guid>
        <pubDate>Wed, 26 Sep 2012 08:37:00 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3209013</link>
        <description><![CDATA[var_fj54j: Те, таблицы, которые не ссылается ограничение Foreign key обновились на ура, а вот есть связанные таблицы 4 штуки и их обновить не получается. Access выдает сообщение Ошибка сервера 3726: Невозможно удалить объект &quot;РасхНакладные&quot;, так как на него ссылается ограничение FOREIGN KEY., пытаясь выполнить sql инструкцию DROP TABLE Таблица. Может кто знает как бороться с foreign key?]]></description>
        <author>var_fj54j</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208931</guid>
        <pubDate>Wed, 26 Sep 2012 06:47:59 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208931</link>
        <description><![CDATA[Павел Калугин: <strong class='tag-b'>Akina</strong> идиотский вопрос, а MsSql не умеет репоикацию настраивать на акцессовский файл?]]></description>
        <author>Павел Калугин</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208772</guid>
        <pubDate>Tue, 25 Sep 2012 17:00:38 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208772</link>
        <description><![CDATA[Akina: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=364904&view=findpost&p=3208751'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>var_fj54j &#064; <time class="tag-quote__quoted-time" datetime="2012-09-25T16:11:25+00:00">25.09.12, 16:11</time></span><div class='quote '>таблиц много и чистить каждую - долго </div></div><br>
Много - напиши скрипт ОДИН раз.<br>
Долго - неправда. TRUNCATE TABLE работает как из пухи...<br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=364904&view=findpost&p=3208751'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>var_fj54j &#064; <time class="tag-quote__quoted-time" datetime="2012-09-25T16:11:25+00:00">25.09.12, 16:11</time></span><div class='quote '>таблицы на которые ссылаются ограничения в виде FOREIGN KEY</div></div><br>
При написании скрипта чисти и потом заполняй в ПРАВИЛЬНОМ порядке.]]></description>
        <author>Akina</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208751</guid>
        <pubDate>Tue, 25 Sep 2012 16:11:25 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208751</link>
        <description><![CDATA[var_fj54j: Этот вариант, конечно данные обновляет, но возникают трудности, во-первых таблиц много и чистить каждую - долго (но это ладно можно обойтись и хранимой процедурой), а вторая трудность - есть таблицы на которые ссылаются ограничения в виде FOREIGN KEY))). Буду разбираться с ключами....]]></description>
        <author>var_fj54j</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208718</guid>
        <pubDate>Tue, 25 Sep 2012 15:02:15 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208718</link>
        <description><![CDATA[var_fj54j: Ух ты, ща попробую))))]]></description>
        <author>var_fj54j</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208697</guid>
        <pubDate>Tue, 25 Sep 2012 14:07:11 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208697</link>
        <description><![CDATA[Akina: Выгнать всех юзеров.<br>Очистить таблицы от старых данных. <br>Налить туда новые. <br><br>Какие проблемы-то?]]></description>
        <author>Akina</author>
        <category>Базы данных: SQL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208677</guid>
        <pubDate>Tue, 25 Sep 2012 13:13:40 +0000</pubDate>
        <title>Обновление базы</title>
        <link>https://forum.sources.ru/index.php?showtopic=364904&amp;view=findpost&amp;p=3208677</link>
        <description><![CDATA[var_fj54j: Добрый день, подскажите, пожалуйста, как можно обновить таблицы в базе данных, которая находиться на SQL Server&#39;e 2008. Дело вот в чем, была база данных написанная на Access. База стала большой и требует соединения нескольких пользователей, пришлось перевести на sql server. С эти проблем нет, но пока переводили на sql сотрудники работали с базой на access и вносили данные туда. Теперь пришло время обновить базу на sql. Стандартными средствами access ни как не получается это сделать. Есть еще какие-нибудь варианты по обновлению базы.]]></description>
        <author>var_fj54j</author>
        <category>Базы данных: SQL</category>
      </item>
	
      </channel>
      </rss>
	