Отправляет email-рассылки с помощью сервиса Sendsay

MS SQL Server

  Все выпуски  

MS SQL Server - дело тонкое...


Информационный Канал Subscribe.Ru

#236<<  #237

СОДЕРЖАНИЕ

1.СТАТЬИ
1.1.SQL Server Management Studio - восстановление повреждённых документов
1.2.Обзор SQL Server 2005 для разработчика баз данных (продолжение)
2.ССЫЛКИ НА СТАТЬИ
2.1.Статьи на русском языке
2.2.Англоязычные статьи
3.ФОРУМ SQL.RU
3.1.Самые популярные темы недели
3.2.Вопросы остались без ответа
4.КНИГИ
4.1.Профессиональное руководство по Transact-SQL
4.2.Visual Basic .NET и SQL Server 2000: эффективный уровень данных
4.3.Основы будущих систем баз данных: третий манифест
5.ПОЛЕЗНЫЕ РЕСУРСЫ
5.1.Блоги на GotDotNet.ru

СТАТЬИ

SQL Server Management Studio - восстановление повреждённых документов

По материалам статьи Muthusamy Yih-Yoon Lee: Document Recovery Feature in SQL Server Management Studio
Перевод Александра Гладченко

Недавно, один из коллег автора по форуму бета-тестеров Erin Welker обнаружил, что SQL Server Management Studio 2005 умеет, подобно документам Microsoft Word, восстанавливать редактируемые в его инструментальной среде документы, если произошло неожиданное завершение работы компьютера, а документ пользователем ещё не был сохранён.

Автор провёл некоторые исследования, чтобы узнать побольше о том, как это работает. Вот результаты его исследования:

  1. Когда Вы открываете для запроса новое подключение, в папке \temp создаётся временный файл. Местоположение временной папки определяется вашей переменной пользовательской среды: TEMP. У автора файл был создан в папке C:\Documents и Settings\yihyoon\Local Settings\Temp. Имя файла будут следующего формата ~vs##.sql, где ## является набором символов или цифр. В момент открытия подключения этот файл пуст.

  2. Если открывается не пустой файл с запросом, скажем, Вы уже создали необходимый запрос, будет создан другой временный файл, именуемый ~AutoRecover.~vs##.sql. По умолчанию файл будет сохранен в папку My Documents\SQL Server Management Studio\Backup Files.

  3. Если вдруг компьютер завис и его понадобилось перезагрузить, когда Вы снова запустите SQL Server Management Studio, Вам будет выведено диалоговое окно, пример которого представлен на рисунке ниже:

  4. Независимо от того, решите ли Вы восстановить файл, сам файл будет переименован в Recovered-MM-DD-YYYY-HHMM.~vs##.sql и помещён в папку My Documents\SQL Server Management Studio\Backup Files\. В то же момент, файл ~vs##.sql, находящийся в папке \temp будет заменён последней версией документа. Оригинал ~vs##.sql будет переименован и скопирован в My Documents\SQL Server Management Studio\Backup Files\ с новым именем: Original-MM-DD-YYYY-HHMM.~vs##.sql.

Подобно описанию аналогичной процедуры в справочной системе Microsoft Word, в имени файла отражается его состояние. Варианты индикации состояний файлов:

[Original] - оригинал файла, каким он был на момент последнего сохранения.
[Recovered] - восстановленный файл, полученный после завершения управляемой пользователем процедуры восстановления или после сохранения при автоматическом восстановлении.

Есть два вопроса, которые не удалось выяснить автору:

  1. Каково принятое разработчиками соглашение об именах файлов? Автор встречал варианты: vsC, vsE, vs3C, vs15.

  2. Также неясно, в какой момент файл будет сохранен в папку: C:\My Documents\SQL Server Management Studio\Backup. Автор наблюдал сохранение файлов в течение минуты. Хотя в других случаях на это потребовалось больше минуты.

В заключение автор приглашает всех воспользоваться этим новшеством, особенно тех разработчиков, которые не имеют привычки часто сохранять свои файлы.

[В начало]

Обзор SQL Server 2005 для разработчика баз данных (продолжение)

По материалам статьи Matt Nunn, Microsoft Corporation: An Overview of SQL Server 2005 for the Database Developer
Перевод Виталия Степаненко

Содержание

Новая парадигма разработки баз данных
Интеграция с .NET Framework
Технологии XML
Новая среда разработки
Улучшения в языке
Заключение

Интеграция между SQL Server и CLR дает несколько преимуществ:

* Улучшенная модель программирования: языки программирования, совместимые с .NET Framework, во многих отношениях намного богаче, чем Transact-SQL. Они предоставляют конструкции и возможности, которые ранее не были доступны разработчикам SQL.

* Улучшенная надежность и безопасность: управляемый код работает в среде CLR, в которой находится и движок баз данных. Это дает возможность объектам баз данных .NET Framework быть более безопасными и защищенными по сравнению с расширенными хранимыми процедурами, доступными в более ранних версиях SQL Server.

* Пользовательские типы и агрегаты: два новых объекта базы данных, которые расширяют возможности хранения данных и выполнения запросов в SQL Server, доступны с помощью CLR.

* Общая среда разработки: разработка баз данных встроена в среду разработки Microsoft Visual Studio 2005. Вы можете использовать те же инструменты для разработки и отладки объектов базы данных и скриптов, которые Вы используете для написания компонентов и служб .NET Framework среднего или клиентского уровня.

* Производительность и расширяемость: т.к. управляемый код компилируется в исполнимый код до выполнения, Вы можете получить значительное увеличение производительности в некоторых случаях. Вы также выиграете от интеграции с CLR, начав писать код с более сложной логикой, который больше подходит для расчетных задач, используя такие языки, как Visual Basic .NET и C#. Кроме того, Visual Basic .NET и C# предлагают объектно-ориентированные возможности, такие, как инкапсуляция, наследование и полиморфизм. Вы легко сможете организовать реляционный код в классы и пространства имен, что облегчит Вам организацию и поддержку кода при работе с большим количеством кода. Эта возможность логически и физически организовать код в сборки и пространства имен является большим преимуществом и позволяет Вам лучше находить и размещать различные части кода в большой базе данных.

Управляемый код является более эффективным, чем Transact-SQL, при обработке чисел и управлении сложной логикой выполнения и обеспечивает широкую поддержку обработки строк, регулярных выражений, и т.д. Также, с функциональностью библиотеки классов .NET Framework, Вы имеете полный доступ к тысячам готовых классов и процедур, которые Вы можете легко вызвать из любой хранимой процедуры, триггера или пользовательской функции. Все, от улучшенных функций обработки строк, математических функций, операций с датами до доступа к системным ресурсам, улучшенных алгоритмов шифровки, доступа к файлам, обработки изображений и манипуляции данными XML, легко доступно из управляемых хранимых процедур, функций, триггеров и агрегатов.

Одним из главных преимуществ управляемого кода является безопасность. Перед выполнением управляемого кода, CLR выполняет несколько проверок, используя процесс "verification", чтобы удостовериться, что код безопасен для запуска. Например, код проверяется, чтобы убедиться, что что не производится чтения памяти, в которую не производилась запись.

Выбор между Transact-SQL и управляемым кодом

Когда Вы будете писать хранимые процедуры, триггеры и пользовательские функции, Вам придется принимать решение - делать это, используя традиционный Transact-SQL, или используя совместимый с .NET Framework язык программирования, такой, как Visual Basic .NET или C#. Ответ на этот вопрос зависит от ситуации, в некоторых случаях Вы захотите использовать Transact-SQL, а в других - управляемый код.

Transact-SQL лучше подходит для ситуаций, когда код выполняет доступ к данным с небольшим объемом или вообще без процедурной логики. Языки программирования, совместимые с .NET Framework, больше подходят для расчетных функций и процедур со сложной логикой, или для ситуаций, когда Вам нужно использовать преимущества библиотеки классов .NET Framework.

Размещение кода также важно. И Transact-SQL, и управляемый код работают на сервере. В результате функциональность и данные располагаются рядом, что позволяет Вам в полной мере воспользоваться вычислительной мощностью сервера. Это очень полезно, т.к. уменьшает трафик между данными и средним слоем. Просто выполненяя вычисления, находясь рядом с данными, система с интенсивным вводом-выводом может получить большой выигрыш в производительности. Функции CLR также могут использовать возможности процессора запросов SQL Server, который может распараллеливать и оптимизировать выполнение. С другой стороны, Вы можете захотеть, чтобы задачи, интенсивно использующие процессор, не располагались на Вашем сервере базы данных. Сегодня большинство клиентских компьютеров очень мощные, и Вы можете воспользоваться этой вычислительной мощью, поместив как можно большее количество кода на клиентские компьютеры. Здесь нет однозначного ответа, что лучше.

Сетевые службы (Web Services)

В SQL Server 2005 Вы можете разрабатывать сетевые службы XML на уровне базы данных, заставляя SQL Server использовать HTTP. Это дает новые возможности доступа к данным для приложений, которые сосредоточены вокруг сетевых служб. В SQL Server 2005 Beta 2 Вы можете использовать HTTP для прямого доступа к SQL Server без использования среднего слоя, например, без Microsoft Internet Information Services (IIS). SQL Server предоставляет интерфейс сетевой службы, позволяя выполнение команд SQL и вызов функций и процедур. Результаты запросов возвращаются в формате XML и могут использовать инфраструктуру сетевых служб Visual Studio.

ADO.NET

В новой версии ADO.NET много нововведений. От новой поддержки уведомлений об изменении запросов до множественных активных наборов результатов (multiple active result sets, MARS), ADO.NET расширяет доступ и манипуляцию наборами данных для достижения еще большей масштабируемости и гибкости.

Поддержка уведомлений ADO.NET

В SQL Server 2005 Beta 2 появилась поддержка уведомлений для запросов SQL Server. Вы можете использовать эту поддержку для отправки команды в SQL Server с указанием, что должно быть сгенерировано уведомление, если повторное выполнение этой команды вернет результаты, отличные от полученных в первый раз. Это выполняется с использованием зависимого объекта, который определяет, когда изменились данные. Команды, отправляемые на сервер через любой клиентский API, такой, как ADO.NET, OLE DB, Open Database Connectivity (ODBC), Microsoft ActiveX Data Objects (ADO), или SOAP, могут включать тэг, требующий уведомления. Для каждой команды, выполняемой с указанием генерации уведомлений, сервер создает "подписку уведомлений", которая срабатывает один раз для каждой команды, включенной в запрос на генерацию уведомлений. Уведомления доставляются через очередь SQL Service Broker, из которой их получают приложения, и используют службы активации и команды блокировки, которые возвращают информацию, доступны ли уведомления. Уведомления запросов полезны для кэширования результатов в приложениях, таких, как Web-сайты, которые управляются данными из базы данных.

Множественные активные наборы результатов

Множественные активные наборы результатов (Multiple active result sets, MARS) дают возможность иметь более одного выполняющегося запроса на соединение и более одного набора результатов по умолчанию на соединение. Наборы результатов по умолчанию имеют свойства forward-only и read-only. Для наборов результатов по умолчанию клиентские драйверы получают информацию большими блоками (блоки размера буфера из потока данных), так что запросы приложения выполняются без повторного обращения к серверу (как в случае серверных курсоров). Приложение может использовать простую программную модель "одна строка за один раз" без ухудшения производительности.

Возможности множественных активных наборов результатов позволяют избавиться от текущего ограничения, когда открытый по умолчанию набор результатов не дает возможности драйверу посылать запросы на сервер, пока не будет получен весь набор результатов.

ПРОДОЛЖЕНИЕ СЛЕДУЕТ

[В начало]

ССЫЛКИ НА СТАТЬИ

Статьи на русском языке

Управление оперативной памятью
Кэлен Дилани
MSSQLServer: При работе с версиями SQL Server, которые предшествовали SQL Server 7.0, системный администратор (sa) был вынужден выделять фиксированный объем оперативной памяти для нужд самого SQL Server. Этот объем нельзя было изменить, не останавливая работу SQL Server. Если выделить слишком мало оперативной памяти, производительность могла заметно снизиться, потому что у SQL Server не хватит памяти для хранения часто используемых данных. С другой стороны, если выделить слишком много оперативной памяти (например, больше, чем имеется в распоряжении операционной системы), то SQL Server не сможет даже запуститься. А если SQL Server нельзя запустить, то нельзя запустить и процедуру, которая уменьшила бы объем выделенной памяти, произведя реконфигурацию. При работе с более ранними верси...

На подходе Windows Server 2003 SP1
Поль Тюрро
Microsoft выпустила версию Release Candidate 2 (RC2) пакета обновлений Windows Server 2003 Service Pack 1 (SP1), которая, как и версия RC1, доступна широкой общественности для загрузки и установки. Как стало известно из источников Microsoft, пакет обновлений Windows 2003 SP1 будет окончательно завершен в марте нынешнего года и вскоре после этого его можно будет беспрепятственно загрузить с сайта компании...

CLR в SQL Server 2005
Билл Шелдон
MSSQLServer: SQL Server 2005 включает в себя операционную среду Windows .NET Framework 1.1. Интеграция среды исполнения .NET Common Language Runtime (CLR) в рабочий цикл SQL Server 2005 - неординарное изменение, некорректная реализация которого могла бы полностью дестабилизировать работу SQL Server 2005. После обсуждения рисков, снизить которые стремились разработчики SQL Server 2005, мы попытаемся обосновать целесообразность усилий, затраченных на внедрение CLR в SQL Server 2005...

Безопасность SQL Server 2005 изнутри
Кэлен Дилани
MSSQLServer: В SQL Server 2005 разработчики Microsoft сделали основной упор на безопасность, были усилены многие элементы системы безопасности, которые были неполными в предыдущих версиях. Наиболее существенное изменение состоит в том, что SQL Server 2005 поставляется с должным образом настроенной системой безопасности, даже если развертывать продукт со всеми установками по умолчанию. Терминология в системе безопасности SQL Server 2000 тоже стала несколько иной. Помимо термина <схема>, мы обсудим в этой статье такие понятия безопасности, как аутентификация и авторизация. Эти два новых понятия являются фундаментальными в модели безопасности SQL Server 2005. Мы можем представить себе схему как контейнер, в котором разработчик создает объекты базы данных. Обращаясь к объекту в SQL Serv...

Программы резервного копирования и восстановления для предприятия
Джон Грин
Надежный продукт резервного копирования и восстановления - лучшая гарантия бесперебойной работы компании. Простои и связанные с ними издержки обходятся предприятиям слишком дорого...

ЗАЩИТИТЕ СВОИ ДАННЫЕ ПОКА НЕ ПОЗДНО
Мартин Титц
Большинство компаний хранят свои основные бизнес-данные в реляционных базах. А СУБД большинства компаний поддерживают технологию усиленной защиты и шифрования данных. Но применяет ли большинство пользователей эти функции безопасности, встроенные в их системы?...

FAQ по AllFusion ERwin Data Modeler (ранее ERwin)
interface.ru
CASE: Как в ERWin 4.0 произвести сравнение одной таблицы с СУБД, а не всей схемы? Как найти выход из следующей ситуации: в ERwin-е 4.1 создаются две сущности E1 и E2, в сущность E1 добавляем атрибут и устанавливаем связь между сущностями. Присваиваем связи значение logical only, в результате атрибут в дочерней сущности тоже становится logical only. Как этого избежать? Никак не могу понять, в чем ошибка. При проектировании хранилища средствами ERWin3.5.2, структура создается, но данные не заполняются...

CTE и циклы
Ицик Бен Ган
MSSQLServer: Простые табличные выражения CTE (Common table expressions) - новая особенность языка запросов T-SQL в SQL Server версии 2005 (ранее называвшемся Yukon). Они позволяют легко и эффективно управлять иерархиями при написании запросов на языке T-SQL. Некоторые главные преимущества CTE состоят в том, что их построение подчиняется стандартам ANSI SQL-99. С их помощью можно писать более короткий текст кода для управления иерархиями, чем когда-либо. Их внутрисистемная реализация использует вместо курсоров и временных таблиц запросы, построенные на наборах данных. В этой статье я расскажу о том, как управлять мультиродительскими иерархиями, такими как ведомость материалов (BOM), а также о том, как обнаружить циклы и сортировать элементы, имеющие общих родителей...

FAQ по AllFusion Data Model Validator (ранее ERwin Examiner)
interface.ru
CASE: Какие модели можно проверять с помощью ERwin Examiner? Обрабатывает ли ERwin Examiner подмножества модели ERwin? Можно ли обнаружить связи, которые не определяются через механизм внешних ключей? Какую пользу может принести обнаружение неявных связей, если нет хорошего соглашения о присвоении имен?...

Бета-версия SQL Server 2000 Service Pack 4
Брайан Моран
MSSQLServer: Несколько недель назад Microsoft выпустила версию SQL Server 2000 Service Pack 4 (SP4), предназначенную для бета-тестирования. Обычно к испытаниям бета-версий пакетов обновлений допускается только узкий круг специалистов. На этот раз к SP4 открыт всеобщий доступ. Подписка на бета-версию осуществляется по адресу http://lists.sqlmag.com/t?ctl=410:7F5AD. Здесь же размещена информация о получении SQL Server 2000 Reporting Services SP2 и SQL Server 2005 Express SP2. Пакет Reporting Services SP2 содержит исправления дефектов и ряд важных усовершенствований, включающих печать на клиентском сегменте и новые Web-разделы SharePoint для поиска и просмотра отчетов на сервере Report Server...

[В начало]

Англоязычные статьи


Report Builder in SQL Server 2005
Rowan Burke
I just watched the Reporting Services 2005 webcast archive (well I couldn't get up early enough to watch it live). I've summarised what I heard and saw below. Feel free to add comments, or corrections in the forums.

Dynamic time filtering in Analysis Services
Alex Valkov
The overall idea is to create a calculated member which when selected will null out anything but values for the current month and its descendants. This is really valuable for say an Excel or OWC pivot table report where you want to always see a current month trend. Simply expand the report to the level of granularity you need (e.g. daily), then apply the dynamic time filter and there you go - an automatically updating current month trend!

Upsizing the Access Database into the SQL Server
Dinesh Asanka
Most of the small and medium scale organizations are used to start their operations with Access 2000 due to many reasons. Main influence behind this is the licensing fees. Other than the above use, more developers are using Access as a prototype. Nevertheless, after a while there are many complains from the access users about the corruption, data losses, etc etc. Therefore, there are many reasons needed to be consider before selecting a database system for your organization or for your duties.

Slowly Changing Dimensions Are Not Always as Easy as 1, 2, 3
Margy Ross and Ralph Kimball
To kick off our first column of the year, we're going to take on a challenging subject that all designers face: how to deal with changing dimensions. Unlike most OLTP systems, a major objective of a data warehouse is to track history. So, accounting for change is one of the analyst's most important responsibilities. A sales force region reassignment is a good example of a business change that may require you to alter the dimensional data warehouse. We'll discuss how to apply the right technique to account for the change historically. Hang on to your hats — this is not an easy topic

Managing XML Data
Thom Robbins
Last week I had lunch with the application manager of a local customer that just completed their enterprise rollout of Office 2003. We had decided to meet and discuss possible ways his team could begin to utilize this deployment. As we sat down he explained that he had been talking to his team and had been investigating a project that he wanted to discuss. He explained that they had a variety of independent business processes that all ran within various Microsoft Office applications

Understanding Query Filters and Clauses
Itzik Ben-Gan
T-SQL query can use any of three clauses—ON, WHERE, and HAVING—for specifying logical expressions that SQL Server uses as filters. The three filters play different roles, but sometimes it can be difficult to know which clause you should specify a logical expression in. Most T-SQL programmers know when to specify a logical expression in the HAVING clause because SQL Server applies the HAVING clause after grouping the input data. But confusion around when to use the ON and WHERE clauses leads to some of the most frequently asked questions in the public SQL Server programming newsgroup (news://msnews.microsoft.com/microsoft.public.sqlserver.programming). Thanks to Lubor Kollar, a program manager with the SQL Server Engine team, for suggesting that I write an article to clarify this often perplexing subject

XP SP2 and SQL Server
Brian Moran
In June, I wrote about the effects that Windows XP Service Pack 2 (SP2) has on SQL Server (see "Windows XP SP2 Defaults Break SQL Server Connections" at http://www.winnetmag.com/article/articleID/42854/42854.html ). Now that XP SP2 is dribbling out through Windows Update and other sources, I want to revisit the topic. XP SP2 has some great new features, such as the easy-to-use Windows Firewall that comes turned on by default. Considering the security problems that have plagued the Windows community over the past few years, putting strong firewall protection into users' hands is essential. However, blindly installing XP SP2 on a machine that's running SQL Server will cause you a lot of grief. That wonderful new firewall will cause SQL Server to stop working if you do a simple, default installation of SP2. You need to know what knobs to tweak to ensure SQL Server will continue to work. Few production server applications are running on XP right now, but countless SQL Server instances are running on developer boxes on top of XP. And don't forget about the instances of Microsoft SQL Server Desktop Engine (MSDE) that are running on XP

Triggers
Mike Chapple
Triggers offer database developers and administrators a tremendous degree of flexibility. They are, quite simply, stored procedures that may be configured to automatically execute (or "fire" in tech lingo) when certain events take place

Access Controls in SQL
Mike Chapple
Security is paramount to database administrators seeking to protect their gigabytes of vital business data from the prying eyes of unauthorized outsiders and insiders attempting to exceed their authority. All relational database management systems provide some sort of intrinsic security mechanisms designed to minimize these threats. They range from the simple password protection offered by Microsoft Access to the complex user/role structure supported by advanced relational databases like Oracle and Microsoft SQL Server. This article focuses on the security mechanisms common to all databases that implement the Structured Query Language (or SQL). Together, we'll walk through the process of strengthening data access controls and ensuring the safety of your data

Centralized SQL Server 2000 Monitoring
Tom Pullen
This article provides how-to information and code for two different monitoring systems you can set up centrally to manage reporting of SQL Server 2000 maintenance and disk utilization. The first is a scheme I have used in my role as a DBA, which has helped simplify and speed up one of the more mundane tasks we as DBAs are likely to face: checking overnight backups and DBCC checks. The second is a simple system which centrally collects disk drive utilization data from target SQL Servers. This data can be checked regularly to ensure none of your servers are about to run out of disk space, and it is also retained so you can analyze it for trends and use the results for the prediction of your future disk requirements

Administrate SQL Server2000 From Pocket PC
rasheed1979
This article demonstrate administrating SQL server 2000 from pocket PC on the fly

Application DataBlock Extender Code Generator using SQLDMO
dshalimov
Use this Windows application to generate complete Data Access Layer for your applications

PocketAnalytix - OLAP on PocketPC
Mosha Pasumansky
Somebody asked a question “Does anybody know a BI demo that runs on PDA ?” Matthew Stephen sent a link to PocketAnalytix product from European Management Systems. It always worked with Analysis Services cubes, but now they released .NET version. Unlike some other products, there is plenty of technical information on the Web site, which explains how exactly the product works. There is also a slide show with many screenshots. Here is how definition of color-coding exception looks like with the Foodmart 2000 sample database - highlighting Products which had Sales Average above 6.64

SQLOS's memory manager: responding to memory pressure
Slava Oks's WebLog
When configuring SQL Server it is very important to understand how it reacts to memory pressure. I have already spent significant amount of time describing types of memory pressure. In this post you will understand why it is important. Memory pressure is categorized into two major groups: VAS and physical. Physical memory pressure could be imposed by OS, we called external or it could be imposed by the process itself we call it internal. SQLOS implements a complete framework to enable process's handling any type of memory pressure. In the heart of the framework lies Resource Monitor task, RM. RM monitors state of the external and internal memory indicators. Once one of them changes, RM observes state of all indicators. Then it maps indicator's states into corresponding notification. Once notifications is calculated it broadcasts it to memory clerks

Activating Service Broker programs externally
Write Ahead Blog
In a previous post, I talked about internal activation. But it may not always be feasible to write Service Broker programs as stored procedures. For example, the service program may take a long time to process a message or might require to make a call to a web-service in which case you don't want to eat up a thread from the SQL Server process. Or the program might need special permissions or be able to run as a different user. Or the program may be deployed on a separate machine. But how do you control the instantiation and termination of a stand-alone service programs?

SQL Server 2005 Data Mining: Plug-In Algorithms
Raman Iyer and Bogdan Crivat
Describes how SQL Server 2005 Data Mining allows aggregation directly at the algorithm level. Although this restricts what the third-party algorithm developer can support in terms of language and data types, it frees the developer from having to implement data handling, parsing, metadata management, session, and rowset production code on top of the core data mining algorithm implementation

Data Mining Reloaded
Alexei Bocharov, Jesper Lind
The two main functions of data mining are classification and prediction (or forecasting). Data mining helps you make sense of those countless gigabytes of raw data stored in databases by finding important patterns and rules present in the data or derived from it. Analysts then use this knowledge to make predictions and recommendations about new or future data. The main business applications of data mining are learning who your customers are and what they need, understanding where the sales are coming from and what factors affect them, fashioning marketing strategies, and predicting future business indicators

Access to SQL Server: The Upsizing Wizard
Kathi Kellenberger
Even though I have been SQL Server DBA for two and a half years, I have always been a fan of MS Access. While Access is not intended to store Enterprise-wide data as SQL Server is, you can do just about anything with its reports and forms, especially if you're not afraid to write a little VBA code once in a while. It is used frequently as the client for SQL Server database applications. In this series of articles, I will explain three ways to link SQL Server tables in MS Access and offer some pointers along the way on creating your first SQL Server back end / MS Access front end app

Performance Tuning Tips for Using Microsoft Access and SQL Server Together
sql-server-performance
If you are really interested in the fastest performance, don't use Access as a front-end to a SQL Server database. While Access is relatively easy to learn and fast to develop in, its performance if poor when compared to other front-end options. But if you like to develop in Access, or don't have any choice, then the tips on this page will help a little to boost your application's performance. [6.5, 7.0, 2000]

Your Turn: Users Latch on to SQL Reporting Tool
Stephen Swoyer
SQL Server Reporting Services earns solid if not stellar marks from early adopters—and you can't beat the price. In the past 18 months or so, Microsoft has shipped Windows Server 2003, Microsoft Office 2003, SharePoint Portal Server 2003, SMS 2003 and Windows XP Service Pack 2—all high-profile product releases. So you're forgiven if you missed it in June when the company shipped SQL Server Reporting Services. But based on our survey of early users, you may want to pay it some attention

Review of SwisSQL SQLOne Console, SQL Query Converter
Narayana Vyas Kondreddi
Recently, SwisSQL approached me for a review of their product that can convert SQL statements from one dialect to another. They told me that "SwisSQL SQLOne Console" is a GUI application that can convert SQL statements from one RDBMS implementation to another and the dialects supported include

SQL Server 2005 Administration: sqlcmd
John Paul Cook
SQL Server 2005, formerly known as Yukon, offers many new administrative features. SQL Server Management Studio offers a completely new graphical interface to SQL Server. Even command line access is revamped. Out with the old osql and in with the new sqlcmd

Another Use for Views
Joe Celko
Craig Mullins did an excellent article called “A View Review” on the various uses for VIEWS which applies to SQL, in general, as well as DB2. But he missed another use that has become possible in SQL products as they add more Standard SQL features. Consider a schema for a chain of stores that has three tables, thus

Terabyte Data Warehouse Table Design Choices, Part 1
David Beulke
Data warehouse tables continue to fill up at amazing speeds with larger and larger amounts of data. This situation has persisted since the beginning of technology. Now, with all the advances in DASD and with DB2 Version 8 there are many design choices. The following will discuss some of the options for designing tables for terabytes of data

Implementing a storage vision
Bill Williams
Making that switch from direct-attached storage (DAS) to a storage network is a big step, one that can be managed by understanding each of the advantages and challenges involved. One way to get off on the right foot is to implement a storage vision as author Bill Williams discusses in this article provided by InformIT

Predictive Analytics with Data Mining: How It Works
Eric Siegel
Although you've probably heard many times that predictive analytics will optimize your marketing campaigns, it's hard to envision, in more concrete terms, what it will do. This makes it tough to select and direct analytics technology. How can you get a handle on its functional value for marketing, sales and product directions without necessarily becoming an expert?

Creating Database Projects with SQL Anywhere Studio, Part 2
Jayaram Krishnaswamy
In this second of two articles, you will learn about user management with Sybase Central, integrated logins, importing ASA data into an Excel worksheet, and more

MSSQL Server 2000 Reporting Services : Black Belt Administration: Execution Log Performance and Audit Reports
William Pearson
We introduced our previous article, Prepare the Execution Log for Reporting, with a discussion about a valuable source of information for performance and auditing analysis, identifying the Report Server Execution Log as a great place to start for this sort of reporting. We noted that the Execution Log captures data specific to individual reports, including when a given report was run, identification of the user who ran it, delivery destination of the report, and which rendering format was used, among other information

Function to get last day for a month
catur bharata
This script will create a UDF that will show the maximum day for a given date or month that you supply. Format date supplied as parameter should be : "MM/DD/YYYY"; it will produce a single int value. In example if you supplied date like "02/13/2004", the UDF will show you : 28, which means 28 days in february, 2004

Script out PKs/UNIQUE constraints and referencing FKs
adam machanic
In the course of my work, I occasionally need to cluster a primary key that's nonclustered, or go the other way, or make some other modification to a primary key

Query plan guides in the SQL Server 2005 BOL
Bob Beauchemin's Blog
Browsing through the SQL Server BOL from the December CTP, I came across some information on something called "plan guides". There is info on some stored procedures that create and manage plan guides, a database option (in ALTER DATABASE) and a system view that lists plan guides. However, none of this these are active yet in the actual product. Let's hope this is another example of documentation being ahead of things (a la EXCEPT and INTERSECT support), because these sound interesting. According to BOL

SQL Server 2005: Query Plan Guides
adam machanic
Thanks to Bob Beauchemin for pointing out the new query plan guides feature in SQL Server 2005

MDX 'Automated Unit Testing'
Chris Webb's BI Blog
My colleague Jon Axon sent round a very interesting mail at work this morning, detailing a new method he's using for testing during cube development. Rather than try to paraphrase it, here's what he sent

SQL Server 2005. Added some more XML and Database papers to my links
Michael Rys
I finally found some time to add links to some research/overview papers that explain SQL Server 2005's XML and XQuery implementation to my Paper (for papers that I co-authored) and Recommended Links (for papers written by others in our team) sections. They are

SQL Server 2005. XQuery in Relational Database Systems
Michael Rys
Relational database systems (and the related standards body ANSI/INCITS H2) are busy adding XML support. One of the main components of such XML extensions will be support for the upcoming XML query language XQuery. The presentation will outline how XQuery and XML conceptually fit into a relational database environment. It will cover the organization of the XML in the database, how to type it using W3C XML Schema, how to query it both in conjunction with SQL and using top-level XQuery. It will present the concepts, talk about new developments in the ISO/ANSI SQL/XML standards and present some demos of XQuery in the upcoming Microsoft® SQL Server 2005

Office Excel Add-in for SQL Server Analysis Services – its free, its powerful and it could save you money!
Mat Stephen's WebLog
Well I’ve been blogging for a 11 weeks or so and looking at my stats I can see the posts that attract the most attention are those that either advertise a freebie or offer a performance tip. So, blatantly pandering to my ratings, here’s another freebie you should know about if you’re into Business Intelligence. If you’re not into Business Intelligence (BI), I can only say you’re missing out on one of the most exciting applications of computer power. (I’m building up to squeeze out the definitive blog on the wonders of BI – so keep watching this space).

SQL Server Performance Top Tip: Degrees of Parallelism and a Degree of Uncertainty
Mat Stephen's WebLog
Max degree of parallelism is an advanced configuration option in SQL Server about which many question have been asked and much written. In this blog entry I hope to offer some insight and certainty as to what this option does and how it should be used

SQL Server 2005. Daily Dose of Transact-SQL: The Beginning
Randy Dyess
I looked up yesterday and noticed that it has been almost three weeks since I blogged last. I have meant to blog about 4 or 5 times each week on one of my two blogs, but like most have let everyday matters override this desire. I remember all the times in the last few weeks saying “I’ll blog after I finish this” or “I don’t have time tonight, I will blog tomorrow”. Well tomorrow has come and it is time to start blogging again

Daily Dose of Transact-SQL: Transact-SQL and Clustered Servers
Randy Dyess
While you cannot create / change / administer a SQL Server cluster through Transact-SQL you can obtain basic cluster information using some simple functions, dynamic management views, and system stored procedures

Microsoft Preps Maestro For Yukon
Barbara Darrow
This week's note is brought to you courtesy of CRN's Barbara Darrow, who graciously shares her insight on some interesting database news

Separator First Formatting
Andrew Novick
You may have already noticed that the formatting of the SQL statements in this newsletter is slightly unusual. Over the last few years, I've come to use a system that I call “Separator First Formatting” or SFF. I've seen a few other programmers use it, so I'm not the only one

Recoding a column using the Data Source View
DMTeam
This tip describes how you can use the Data Source View editor to change the values in a table column. Many times when embarking on a data mining project you need to slightly alter the data source. We’re not talking about changing the world; rather we simply want to look at the data in a subtly but significantly different manner such that it makes more sense to our business problem. In these cases you may need to reduce or change the number of states in a column to those that make sense for your business problem, or change a numeric value into a set of discrete states

SQL and VB.NET Code Generator
Raj Settiappli
An article on generating SQL strored procedures and VB.NET function calls

Saving and Retrieving Wav files from MSSQL, MSDE and MySQL databases
j1webb
This code will let you save .WAV files to either a MSSQL, MSDE or MySql database and then retrieve them

Paging and Sorting on SQL Server and Oracle using Sql.Net
Alon Catz
This article presents an alternative solution to paging large datasets using Open Source Sql.Net library

Enhanced DataSet Quick Watch
Matt Simner
A VS.NET add-in to visualise standard and typed DataSets, DataTables and DataRows whilst debugging

Stored Procedures v Parameterized Queries
Peter DeBetta
You should use stored procedures whenever possible in your enterprise application design. I know this statement is a bold one, but facts are facts. And I am going to present to you a number of reasons why this statement still holds true today

SQL Server 2005 Security - Part 3 Encryption
Marcin Policht
After discussing authentication and authorization behavior of SQL Server 2005 Beta 2 in the previous two articles of this series, it is time to look into other security-related changes. In particular, we will focus on the freshly introduced native database encryption capabilities. While some encryption functionality existed in the previous versions (e.g. involving column encryption APIs within User Defined Functions or PWDENCRYPT password one-way hash function), it was relatively limited and rarely used. SQL Server 2005 provides significant improvements in this area

Microsoft contemplating 'sharing' source of SQL Server 2005
Martin LaMonica
SQL Server 2005 is a candidate for Microsoft's shared-source programme, according to senior Microsoft sources within the unit responsible for the database product

SQL Server 2005. Microsoft Brings Software Know-How To HIV Research
John Foley
Microsoft on Wednesday outlined its latest efforts in applying data-mining algorithms, machine-learning techniques, and computer modeling to the search for more effective HIV vaccines. Some of the technology being used will be included with Microsoft's forthcoming SQL Server 2005 database

Where Is Microsoft's 'Yukon' Beta 3?
Mary Jo Foley
Redmond is rolling out packaging and pricing for its SQL Server 2005 database. But still no Beta 3

Database Standards and Conventions
Brian Knight
Having a good set of naming conventions for your SQL Server objects is one of the most vital things to a company. In the long duration of a business, it saves money and time as programmers are transferred internally and don't need to relearn object names. As learning curves lower, cost lowers. This article covers some of the conventions I use and why I use them. If you put 20 DBAs in one room, you're bound to come out with 20 different standards. In the long run, all that matters is you have a well-defined standard, whatever it may be. I receive more hate mail about this article than anything I've ever written. Keep in mind that the standards that I document here are based on the lowest common denominator between all database systems. If you don't have to have any portability between versions, then many of these standards are not needed. I hate doing some of these myself but I needed to make sure I could port a database to Oracle and DB2

Microsoft Pitches New Low-Cost, Entry-Level Database Edition
Lisa Vaas
Facing ever-stiffer competition in the database price wars, Microsoft Corp. is introducing an edition of its upcoming SQL Server 2005 upgrade that will provide an easier step between free and not free than it now does with SQL Server 2000

SQL: Multiple rows from multiple columns
Rudy Limeback
My table holds information on each employee. For Example

Comparison of SQL Server 2005 Editions
Brian Knight
Microsoft this week announced a new product line for its flagship database and a new pricing structure for its users. For Enterprise Edition customers, the price increase equated to approximately 20% for those who license per processor. Standard Edition customers will see about a 15% price increase once they migrate to SQL Server 2005. This price increase marks the first price increase in more than 5 years

The Perils of Fiber Mode
Ken Henderson
Ken Henderson explains the effects that SQL Server fiber mode coupled with the User Mode Scheduler component can have on your system, and what to consider carefully before enabling fiber mode. (4 printed pages)

The Case of the Stolen Laptop: Mitigating the Threats of Equipment Theft
Steve Riley
The fear of having laptops stolen is a huge worry for all organizations. Maybe it’s even happened to you (I hope not!). The solution is simple, really -- don’t let your laptop get stolen. (I can hear you laughing now.) Keep the thing with you at all times, or leave it in your hotel room when you don’t want to carry it around. Yes, everyone has heard the warnings about hotel room theft, but I’ve never had something stolen from a hotel room and I spend well over 200 nights a year in hotels. (If you travel to a location where the general population has kleptomaniac tendencies, stay in hotels that offer safes in the room.) You’re far more likely to leave your laptop or PDA or smart phone or USB drive lying on the seat in a taxi or on the counter at a bar

Get Your Stored Procedures Ready for Anything
Drew Georgopulos
Without the use of SQL Server's debugger or Raiserror during development, you're on your own for error handling. Learn two solutions for testing your stored procedure code under these tough conditions

Data Mining: An Introduction
Mike Chapple
By this point in time, you've probably heard a good deal about data mining -- the database industry's latest buzzword. What's this trend all about? To use a simple analogy, it's finding the proverbial needle in the haystack. In this case, the needle is that single piece of intelligence your business needs and the haystack is the large data warehouse you've built up over a long period of time

Security in SQL Server 2005
Microsoft
In January 2002, Microsoft introduced the Trustworthy Computing initiative to improve security, privacy, reliability, and business integrity. As part of this initiative, Microsoft follows development processes that help to ensure that products are secure by design, secure by default, and secure in deployment. The SQL Server development team has incorporated these processes into the development of SQL Server 2005, the next version of SQL Server

Could I get some help with JOINs?
aspfaq.com
I see a lot of questions out there that suggest a lack of basic understanding of how tables in a relational database, well, relate to each other. Let's say we have the following schema of authors and the stories they have written

Microsoft Adds Workgroup Option For Present, Future SQL Servers
By Barbara Darrow
Shifts some high-end functions from enterprise to standard edition of Yukon Microsoft is sticking to its story that SQL Server 2005 will ship this summer, but in the meantime the company will release a new version of SQL Server 2000

SQL Server 2005 Editions and Integration Services
Darren Green
The SQL Server 2005 product family has now been announced, so with four editions available, what does this mean for SQL Server Integration Services? Starting from the bottom the free edition known as Express and the entry level Workgroup edition, neither include the full IS product. They have the Import/Export capabilities, but nothing more, so simple loading and extraction of data this should suffice, but you will not be able to build packages

Exploring 'ON DELETE SET NULL' in SQL Server 2005
Rob Garrison
At first glance, the 'ON DELETE SET NULL' option in SQL Server 2005 may not seem like a big deal, but once you've seen how it can be used, I think you will be impressed. The basics? If Order.CustomerID has a foreign key to Customer.CustomerID and a customer is deleted, 'ON DELETE SET NULL' causes the CustomerID field in each of that customer's orders to be set to NULL. It allows the "parent" record to be deleted and sets the "child" record's column to NULL. A normal foreign key says Order.CustomerID must match a record in Customer. An 'ON DELETE SET NULL' foreign key says that if Order.CustomerID is not null, then its value must match a record in Customer

MD5 Hash SQL Server Extended Stored Procedure
Vic Mackey
An extended stored procedure for SQL Server that implements an optimized MD5 hash algorithm. Very small DLL (barely 7 KB).

SQL Server 2005: Pricing and Open Source
Paul Ballard
Microsoft has released the pricing model for SQL Server 2005 for all editions including the MSDE replacement Express edition. Also in the news is a statement by Tom Rizzo, Product Manager for SQL Server 2005 that Microsoft is considering, based on customer demand, open sourcing SQL Server 2005

Microsoft Fixes Performance Problem in SQL Server 2000
Editors
Microsoft has released a hotfix for a problem that significantly reduces SQL Server 2000 performance. When you use trace flag 9134 to prevent error message 601 in SQL Server 2000, SQL Server performance is significantly reduced. Error 601 is logged to the SQL Server 2000 error log and occurs if the page at the current position of the scan is deleted when you scan with the NOLOCK locking hint or with the transaction isolation level set to READ Uncommitted. The performance problem occurs because setting trace flag 9134 to TRUE causes additional reads to test whether the page is allocated and linked correctly. This check traverses Index Allocation Map (IAM) chains and Page Free Space (PFS) pages. This behavior causes the additional reads and slowdown.

The Debate About Open-Source Databases
Brian Moran
Does it make sense to consider using an open-source database? More to the point, does it make sense to choose an open-source database instead of SQL Server when cost is your primary concern? Interesting questions—I want to share some insights. I touched on this topic in my previous commentaries "In the Express Lane with SQL Server" and "MSDE: Get More than You Pay For". I want to revisit the topic because I've been reading some articles in the mainstream press about open-source databases such as MySQL or Ingres and how they compare favorably to database solutions that you have to pay for

SQL Server Heads to the Workgroup, Gets a Price Increase
Paul Thurrott
Microsoft's oft-delayed SQL Server 2005 family of products will finally ship mid-year, the company said this week, but it will bring with it a new product lineup and higher prices. For starters, Microsoft is adding a Workgroup Edition of SQL Server. But that product won't wait for SQL Server 2005. Instead, Microsoft is launching SQL Server 2000 Workgroup Edition this spring, ahead of the SQL Server 2005 launch

A Death's Door Experience
Kevin Kline
Although I haven’t been blogging very long, I hope that you found the column to be useful and informative and at least somewhat related to SQL Server. I’m going to get completely off of the realm of SQL Server this entry to tell you about my really, really tough weekend

The SQL Server Web Data Administrator
Steven Warren
Do you need the ability to manage your SQL Server data wherever you are? Microsoft released a Web interface that can help you manage your SQL Server databases. With this tool, called the SQL Server Web Data Administrator, you can

Hybrid MOLAP/ROLAP dimensions
Yukon BI by the Hitachi Consulting Yukon Team [link]
Some dimensions—if you push them to their physical extreme, something we never did in 2000—get very, very large at the bottom. As a simple example, you could have 50M customers. In 32-bit AS2K you would never dream of making that a dimension—or at least not a MOLAP dimension—and you wouldn’t want to make it into a ROLAP dimension either, because that would eliminate any MOLAP data storage anywhere in the cube. In 2005, I can easily imagine a situation where I would want the most aggregated attributes (Country, State, City) of a user hierarchy to be MOLAP—so that they can support good MOLAP aggregations—and the bottom attributes (such as Customer, or even Order ID) as ROLAP, so they don’t require MOLAP processing

SQL Server 2005 Features Comparison
Microsoft
Microsoft has redesigned the SQL Server 2005 product family to better meet the needs of each customer segment with four new editions: Express, Workgroup, Standard, and Enterprise. As a low-cost mainstream database, SQL Server 2005 will deliver unprecedented value and functionality compared with competitive solutions. The four new editions will offer a range of features, from high availability and robust scalability to advanced business intelligence tools, designed to empower users across an organization through a more secure, reliable, and productive data management platform. Additionally, with the reduced application downtime, robust scalability and performance, and tight security controls, SQL Server 2005 represents a dramatic step forward in supporting the most demanding enterprise systems in the world. Because SQL Server is part of Windows Server System, customers also receive the added benefits of reduced total cost of ownership and faster development time through the increased manageability and integration that result from the common engineering strategy implemented across Windows Server System products. The table below presents details about each of the different editions

Microsoft Announces Expanded SQL Server 2005 Product Line to Meet Customers' Growing Demands
REDMOND, Wash. -- Feb. 24, 2005
Microsoft Outlines Enhanced Product Line and Pricing for SQL Server 2005; Dell to Offer SQL Server Workgroup and Standard Editions

Office Excel Add-in for Microsoft SQL Server Analysis Services – its free, its powerful and it could save you money!
Mat Stephen's WebLog
Well I’ve been blogging for a 11 weeks or so and looking at my stats I can see the posts that attract the most attention are those that either advertise a freebie or offer a performance tip. So, blatantly pandering to my ratings, here’s another freebie you should know about if you’re into Business Intelligence. If you’re not into Business Intelligence (BI), I can only say you’re missing out on one of the most exciting applications of computer power. (I’m building up to squeeze out the definitive blog on the wonders of BI – so keep watching this space)

Its Sunbelieveable: Sun’s First Windows - Microsoft SQL Server SAP Benchmark and Certification
Mat Stephen's WebLog
Actually, I reckon it must be Sun’s first Windows - SQL Server benchmark ever, unless you know otherwise?

Microsoft SQL Server Performance Top Tip: Degrees of Parallelism and a Degree of Uncertainty
Mat Stephen's WebLog
Max degree of parallelism is an advanced configuration option in SQL Server about which many question have been asked and much written. In this blog entry I hope to offer some insight and certainty as to what this option does and how it should be used

Daily Dose of Transact-SQL: DBCC SHOWCONTIG is being replaced
Randy Dyess
One of the major changes in SQL Server 2005 is the reduction in functionality of the familiar DBCC SHOWCONTIG command. Many of us use this command quite frequently today to help us determine if our indexes are fragmented. SQL Server 2005’s version of DBCC SHOWCONTIG does not return the familiar Extents Scanned, Extent Switches, Avg. Pages per Extent, Scan Density, Extent Scan Fragmentation, and Avg. Bytes Free per Page that some of us use to determine if we have index fragmentation or not. Scan Density is a very popular value used by many to determine if their indexes are fragmented are not. In order to give us something useful to determine if we have index fragmentation or not the developers of SQL Server 2005 have created a new dynamic management function: sys.dm_db_index_physical_stats

Daily Dose of Transact-SQL: OUTPUT clause
Randy Dyess
Often in our trials as SQL Server developers we need a way to trap changes made to our data. Today we rely on creating table triggers that look into the inserted and deleted virtual tables and trap data rows that have been changed. These trapped rows are then copied to audit tables which allow us to view them at a later time

SQL Server 2005. Data Integration
I like this term and as a matter of fact, this is a very popular problem many are trying to solve. I recently spent a week in NY and had a chance to talk to a few partners and customers in the financial vertical. Almost everyone have this need either because of compliance (SOX for example) or for getting a single high level view of business and just for simply consolidating things like customer data stuck in application silos … The problem is data is either in one of the various platforms (SQL Server, Oracle, DB2, Informix, Sybase etc.) or in one of the many representations (xml, comma delimited files, binary representations – images, movies etc.)…
"Reflect" a TSQL routine
adam machanic
Ever want to see the text of a stored procedure, function, or trigger -- or manipulate the text in some way?

[В начало]

ФОРУМ SQL.RU

Самые популярные темы недели

Хорошо ли объединять несколько хранимых процедур в одну?
Выполнить с правами другого пользователя.
Момент Connect'a к SQL-серверу
Как узнать права ?
Шаманство при Paralellism в процедурах.
Больше книг хороших и разных!
Вычислить число по символьной строке
Странные дела твоеятся в процедуре
Есть ли какой удобный инструмент под MSSQL?
MD5,SHA1 на T-SQL
Запрос для расчета одновременных процессов
View - не работает select
SQL Server Scheduled Job - Status: Failed
Повесить на сессию.
Тонкий канал к клиенту или TCP & MS SQL
Не выгружается DLL
XML -> Table
Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.;
Увеличение времени инсерта при включенных триггерах

[В начало]

Вопросы остались без ответа

внешняя хп
MS Reporting Services: Запрос выполняется каждый раз при переходе на новую страницу.
MS SQL and WEB
Full-text search (RTF)
Восстановление редиректом с veritas
sp_xml_preparedocument, release allocated handles
Как такое могло случится?
MS SQL Производительность
Выходит ошибка Error establishing socket.
Informix как linked server - вываливается ошибка
Как посмотреть все web tasks если нет Web Assistant?
ADSI. Подскажите как корректно выбрать все OU находящиесе в определенном OU
Как грамотно составить структуру таблиц ?
А кто может поделится доками по статегии восстановления после сбоя?
Динамические поля таблицы
Определение DTSGlobalVariables из Execute SQL Task
Очистка логов в MSSQL 2000
SQL Server 6.5: а все таки, можно ли побороть?

[В начало]

КНИГИ

Профессиональное руководство по Transact-SQL

Хендерсон К.

Издание: 1-е, 2005 год, ISBN: 5-469-00257-8, Формат: 17x24 см, Объем: 560 стр., Переплет: твердая обложка, Срок выхода: книга в типографии до 23.03.05, Цена: 749 руб, цена предварительная до выхода книги из типографии, возможны изменения.

Кен Хендерсон хотел написать самую лучшую из возможных книг о практическом программировании на Transact-SQL. И ему это удалось. «Профессиональное руководство по Transact-SQL» будет для вас чем-то вроде путеводителя. Эту книгу легко читать, в ней много новых интересных идей и примеров кода. Хотя она посвящена исключительно Transact-SQL, вы увидите, что многие из подходов и методов будут работать с любым SQL-продуктом, ведь здесь описывается разработка высококачественного кода, независимо от его применения. Автор поставил перед собой задачу написать не только полезную, но и интересную книгу для программистов, в которой не было бы формализмов и от которой не веяло бы нафталином. Кен Хендерсон уверен, что технический писатель должен писать так, как говорят читатели. Так что читайте и наслаждайтесь!

[В начало]

Visual Basic .NET и SQL Server 2000: эффективный уровень данных: Перевод с английского.

Бэйн Т.

Издательство: "Бином", Год издания: 2004, страниц: 588, ISBN: 5-94774-120-2 Цена: 327 руб.

В книге рассмотрены вопросы создания и администрирования приложений Visual Basic .NET, использующих SQL Server 2000 в качестве источника данных. Предполагается знание общих принципов .NET Framework, а также опыт работы с основными операторами SQL Server и хранимыми процедурами. В книге подробно изучаются: техника извлечения и обработки данных с помощью классов и методов ADO.NET, приемы написания и эффективного использования хранимых процедур, техника привязки данных к элементам управления в форматах Windows и веб, поддержка целостности данных с помощью транзакций и блокировок, обработка данных в формате XML, использование служб компонентов, защита данных посредством ролей и полномочий. Перечисленные вопросы практически иллюстрируются на примере создания завершенного приложения базы данных. Приведенные в книге примеры доступны на уровне исходных кодов на сайте книги в Интернете. Для выполнения примеров книги вам необходима полная версия Visual Studio .NET (Professional или Enterprise) и SQL Server 2000 (версия Standard, Development или Enterprise).

[В начало]

Основы будущих систем баз данных: третий манифест

К. Дж. Дейт, Хью Дарвен (перевод под ред. С.Д.Кузнецова)

Издательство: "Янус-К", Переплет: твердый, год издания: 2004, страниц: 656, ISBN: 5-8037-0183-1

В июне 2004 года вышел в свет перевод на русский язык книги К. Дж. Дейта и Хью Дарвена “Основы будущих систем баз данных: третий манифест”. Первое оригинальное издание этой книги вышло шесть лет тому назад, и за это время появилось множество горячих сторонников предлагаемого авторами подхода, а также достаточное число активных противников, которые чаще всего встречаются среди работников компаний, производящих коммерческие объектно-ориентированные и SQL-ориентированные СУБД. Это легко понять, поскольку Дейт и Дарвен убедительно показывают, что индустрия СУБД находится на ложном пути, и предлагают полностью обоснованное решение, основанное на классической реляционной модели данных. Книга помогает глубоко понять суть реляционной модели данных, роль и место в ней типов данных, а также сильные и слабые стороны современной коммерческой технологии баз данных. Книга полезна профессиональным специалистам в области баз данных, преподавателям, аспирантам и студентам старших курсов университетов, специализирующимся в этой области.

[В начало]

ПОЛЕЗНЫЕ РЕСУРСЫ

Блоги на GotDotNet.ru

Как завести собственный блог на http://blogs.gotdotnet.ru

На этом сайте размещаются блоги активных участников GotDotNet и RSDN.RU, уже заработавших свой авторитет в сообществе. Если вы считаете себя достойным и вам есть, что сказать сообществу в блоге напишите заявку по адресу blogs@gotdotnet.ru.

PS
В заявке нужно обязательно указать ссылку на профиль GotDotNet или RSDN.RU

FAQ

В качестве примера одного из самых популярных на этом сайте блогов, Вы можете посетить Блог Александра Ложечкина, работающего в Российском представительстве компании Microsoft на должности Developer Evangelist

Блог Александра Ложечкина
Подписать этот блог по RSS

[В начало]


Вопросы, предложения, коментарии, замечания, критику и т.п. оставляйте Виталию Степаненко и Александру Гладченко в форуме: Обсуждение рассылки

СЕМИНАРЫ  КОНФЕРЕНЦИИ

МИНИФОРМА
ПОДПИСКИ



ПУБЛИКАЦИИ  АРХИВ


http://subscribe.ru/
http://subscribe.ru/feedback/
Подписан адрес:
Код этой рассылки: comp.soft.winsoft.sqlhelpyouself
Отписаться

В избранное