AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.02.2008, 15:10   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
axStart: How to restore an AX 3.0 SQL 2000 backup in sql 2005
Источник: http://axstart.spaces.live.com/Blog/...C0A0!257.entry
==============


[FONT='Arial','sans-serif']It is not so hard to do this trick as long you know what is changed. In SQL 200 the user is owner of the database but in SQL 2005 the Schema is the owner. Next a user is assigned to the schema. When we restore a SQL 2000 backup in SQL 2005. A new schema is created for this database. The schema name is equal to the user name. This user is also available on the database but not on the highest level of the database. In SQL 2000 we used a change owner script to make it work.  In SQL 2005 we have to change the schema. [/FONT]
[FONT='Arial','sans-serif']exec sp_MSforeachtable "ALTER SCHEMA new_schema TRANSFER ? PRINT '? modified' "[/FONT]
[FONT='Arial','sans-serif'][/FONT]
[FONT='Arial','sans-serif']The new schema name should become dbo. Next you can throw away the bmssa user.  Finally you recreate the bmssa user on the highest level on the database and set the default schema to dbo.[/FONT]

Источник: http://axstart.spaces.live.com/Blog/...C0A0!257.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dynamics AX Sustained Engineering: SQL Server 2005 sp3 & SQL Server 2008 with Dynamics AX Blog bot DAX Blogs 0 12.02.2009 06:08
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Data migration AX 3.0 SP3 Oracle 9.1 -> AX 4.0 SP2 SQL 2005 dacom DAX: Администрирование 12 30.11.2007 11:25
Сергей Герасимов: О совместимости Microsoft SQL Server 2005 и Microsoft Dynamics AX 3.0 Blog bot DAX Blogs 0 26.02.2007 12:40
aEremenko: Диагностика проблем при установке Microsoft Dynamics Ax 4.0 на Microsoft SQL Server 2005 Blog bot DAX Blogs 0 28.10.2006 16:01
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 21:29.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.