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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 02.09.2009, 16:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Everything AX: How to quickly get table row counts in Axapta
Источник: http://www.crankturner.com/2008/09/h...counts-in.html
==============

 

Our Dynamics AX database is getting bigger - that means business is active and that is usually a good thing :) We use SQLServer as the back-end database server. Here is a trick that will count all of the rows in all of the Axapta tables in about 1 second. This trick will only run on SQLServer (all versions 2000 - 2008).

Here is a query that will return the row counts of every table in your Dynamics AX database.

<blockquote> USE Axapta
go


<font face="Courier">

select so.name as Table_Name
      ,rows
  from sysindexes si
         inner join
       sysobjects so
         on si.id = so.id
where so.type = 'u'
   and indid
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
gatesasbait: "Go to the Main Table Form" differences between Axapta 2.x and Dynamics AX 4 Blog bot DAX Blogs 0 12.08.2008 19:05
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Ruslan Goncharov: How to get the screenshots of all open windows in AX Blog bot DAX Blogs 0 12.01.2008 12:31
C# and AX Development: How to delete AOT objects (AX/Axapta) Blog bot DAX Blogs 0 13.12.2007 19:50
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

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

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

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