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

MS SQL Server

  Все выпуски  

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


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


#185<<  #186

СОДЕРЖАНИЕ

1.СОВЕТЫ
1.1.Введение в SQL Server 2000 Analysis Services: Создание первого куба. Часть 2.
2.ССЫЛКИ НА СТАТЬИ
2.1.Новые и обновлённые технические статьи Microsoft
2.2.Англоязычные статьи
3.ФОРУМ SQL.RU
3.1.Самые популярные темы недели
3.2.Вопросы остались без ответа

СОВЕТЫ

Введение в SQL Server 2000 Analysis Services: Создание первого куба. Часть 2.

По материалам статьи William Pearson: Introduction to SQL Server 2000 Analysis Services: Creating Our First Cube

Проектирование куба

Для разработки куба, сначала нужно определить меры измерений - количественные значения, выступающие в качестве индикаторов бизнес-функций базы данных, которую мы хотим анализировать/исследовать. Использование мер "фактов", таких как доходы с продаж или расходы/затраты и показателей бюджетных/плановых или прогнозируемых значений, позволяет успешно анализировать эффективность бизнеса.
Кроме того, меры анализируются в разрезе категорий измерений куба. Измерения задают перспективы или представления в рамках уместного для них контекста и не допустимых значений. Самый нижний уровень детализации данных, которые обычно выбираются в качестве мер, находится непосредственно в реляционных таблицах фактов. В то время как операционные данные часто берутся из архивов, самым распространённым способом управления реляционными данными для многомерных бизнес отчётов сегодня является схема хранилища типа – звезда, построенная на основе схемы витрины данных или на аналогичных типах хранилищ. Схема – звезда, в её самой простой форме, состоит из одной таблицы фактов, связанной с множеством таблиц измерений общим ключом или отдельным ключом для каждой пары связанных таблиц. В рамках этой серии статей о Analysis Services мы не будем рассматривать варианты возможных изменений простой схемы звезды и поэтому наш первый куб будет иметь только одну таблицу фактов, с упрощённым ранжированием измерений, выбранных для анализа мер.
Наша следующая цель состоит в том, чтобы выбрать несколько мер из имеющейся таблицы фактов нашего источника данных, а также предусмотреть измерения, которые желательно зафиксировать. Первое измерение, которое практически всегда является полезным, это измерение времени. Для иллюстрации дизайна и конструкции простого куба, мы определим измерение времени и несколько других измерений. Что бы упростить эту задачу, давайте воспользуемся мастером Analysis Services Cube Wizard.

Выбор таблицы фактов и мер для куба

Cube Wizard сначала предлагает выбрать таблицу фактов и, как только мы укажем эту таблицу, он предложит выбрать меры или числовые значения, которые наш куб будет суммировать. Дизайн куба выполняется в несколько шагов.
Для запуска Cube Wizard, нажмите правую кнопку мыши на папке кубов, которая расположена в дереве базы данных MyFirstCube, созданную нами ранее. Нужно выбрать из выпадающего меню пункт New Cube, после чего мастер откроет диалоговое окно Cube Wizard Welcome, как это показано на Иллюстрации 8 (которое мы можем пропустить, оставив не помеченным чек-бокс в нижней части окна).


Иллюстрация 8: Окно Cube Wizard Welcome

После того, как Вы нажмёте Next, будет показан список таблиц нашего недавно установленного источника данных MyFoodMart, из которого нужно выбрать таблицу sales_fact_1998, как это показано ниже, на Иллюстрации 9, и где можно увидеть список полей этой таблицы.


Иллюстрация 9: Выбор таблицы фактов

Для того, что бы убедиться в верности сделанного выбора, можно посмотреть реальные данные, нажав кнопку Browse Data..., как это изображено на Иллюстрации 10. После выбора таблицы, нажмите Next, и будет открыто диалоговое окно, в котором предлагается выбрать имеющиеся меры, которые мы хотим включить в дизайн куба.


Иллюстрация 10: Просмотр данных таблицы фактов

Для нашего простого примера, давайте выберем меры: store_sales, store_cost и unit_sales, как это показано на Иллюстрации 11. Закончив определение мер, нажимаем Next, и мастер перейдёт к стадии выбора измерений. На этой стадии происходит выбор значения, которые должны суммироваться в кубе, после чего мы должны указать, какие измерения мы хотим использовать в качестве перспектив или представлений наших значений/мер.


Иллюстрация 11: Выбор мер с помощью Cube Wizard

Создание многомерного куба: Определение значимых перспектив куба

Каждое из содержащих окончание _id полей, которые мы видели в предыдущем диалоговом окне, представляло измерение в виде ключевых полей, по которым можно звездой связать таблицы измерений с таблицей фактов MyFoodMart. Построенные на этих связях объединения (JOIN) дают нам возможность более детально рассмотреть измерения и понять, что в действительности, они действуют как ссылки между таблицей фактов и измерениями. Более глубокие рассуждения на эту спорную тему, а также о понятии реляционного окружения, физических атрибут и возможностях объединения не входят в рамки этой серии статей. Нам будет достаточно того, что мы имеем возможность выбора из существующих измерений, или даже можем создавать новые, что даёт нам достаточно гибкости в рамках стандартных операций Cube Wizard, а если точнее, в рамках вспомогательного мастера Dimension Wizard.
В диалоговом окне Select Dimensions, которое откроется после нажатия кнопки Next на шаге выбора мер (Иллюстрация 11), нужно нажать кнопку New Dimension, как показано ниже на Иллюстрации 12. Это приведёт к запуску Dimension Wizard (см. Иллюстрацию 13), в котором мы можем пропустить окно Welcome, и приступить к выбору схемы в следующем окне мастера.


Иллюстрация 12: Нажмите кнопку New Dimension для запуска Dimension Wizard


Иллюстрация 13: Окно Welcome мастера Dimension Wizard

Создание измерений в схеме звезда: Одна таблица измерений

Нажимайте Next, пока не попадёте в диалоговое окно, в котором запрашивается вид создаваемого измерения. Важно знать, что для каждого из пяти возможных вариантов внизу будет отображаться контекстно-зависимая информация описания. Для наших целей подойдёт предлагаемая по умолчанию схема звезды, как показано на Иллюстрации 14.


Иллюстрация 14: Dimension Wizard предлагает 5 вариантов измерений

Если теперь нажать кнопку Next, будет открыто окно выбора таблиц измерений Select the Dimension Table, в котором мы должны выбрать таблицу Region. Несколько атрибут для измерения Region можно увидеть в правой части окна, как это показано на Иллюстрации 15, и, как и при выборе таблицы фактов, Вы можете убедиться в правильности сделанного выбора, просматривая реальные данные после нажатия кнопки Browse Data....


Иллюстрация 15: Выбор таблицы Region в качестве первого измерения

Нажмите кнопку Next после выбора первого измерения, и тогда мастер спросит у Вас, какой уровень у выбранного измерения, если такие уровни существуют. Как Вы видите, возможно несколько иерархий уровней, которые могли бы представлять интерес для измерения Region. Мы выберем пять уровней для нашего измерения: sales_country, sales_region, sales_state_province, sales_district и sales_city, и ранжируем их в таком порядке, что бы реализовать логическую иерархию, удобную для формирования отчётности, как это показано ниже на Иллюстрации 16.


Иллюстрация 16: Выбор уровней для измерения: sales_country, sales_region, sales_state_province, sales_district, и sales_city

Ранжирование в логическую иерархию может быть не простой задачей, т.к. для этого необходимо хорошее знание данных. В нашем случае, Вы можете быть не уверены в том, какой уровень выше, районы или области (в тестовых данных есть районы, которые меньше областей, и они должны быть подмножеством последних). На выручку придёт мастер, который предупредит нас, что такая ранжировка уровней не является самой логичной, и выдаст рекомендации по более удачному ранжированию, как это показано на Иллюстрации 17. Давайте последуем этому совету, и откажемся от пересортировки, нажав кнопку Yes. После чего, мастер выполнить ранжирование уровней, которое теперь кажется наиболее логичным (меньшие внутри больших, и от вершины вниз).


Иллюстрация 17: Сообщение Dimension Wizard о потенциальных логических ошибках

После возвращения в окно Dimension Selection, нажмите Next, что бы перейти в диалоговое окно Specification of Member Keys (см. Иллюстрацию 18), в котором выполняются действия, выходящие за рамки этой статьи о создании простого куба. Перейдя в окно Advanced Options (Иллюстрация 19), которое будет рассмотрено позже, мы выберем предложенные по умолчанию установки.


Иллюстрация 18: Окно Specification of Member Keys


Иллюстрация 19: Окно Advanced Options мастера Dimension Wizard

На этом мы закончим работу с мастером Dimension Wizard, в котором мы довольно просто определили измерение "Region". Используйте значок "+", расположенный слева от верхнего уровня дерева измерений, чтобы раскрыть список имеющихся уровней и просмотреть их иерархию, которая будет создана (а заодно проверить текущий их дизайн), как это показано на Иллюстрации 20. Оставив остальные настройки в значения по умолчанию, нажмите кнопку Finish.


Иллюстрация 20: Окно завершения работы мастера Dimension Wizard

После этого, мы вернёмся в Cube Wizard, где Вы увидите, что Region появится в списке Cube Dimensions, что продемонстрировано на Иллюстрации 21.


Иллюстрация 21: Список измерений в мастере Cube Wizard

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

[В начало]

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

Новые и обновлённые технические статьи Microsoft

An Office Web Components 10 PivotChart May Crash When You Open It
Analysis Services Crashes If You Incrementally Update a Non-Changing Dimension
FIX: A Memory Leak Occurs When You Incrementally Update Dimensions That Contain Member Properties
FIX: Calculated Member in WHERE Clause May Cause Empty Result
FIX: Calculated members may return incorrect results for dynamic formulas
FIX: Delete of Dimension Member in Write-Enabled Dimension May Cause Service to Restart
FIX: Incorrect Results Are Returned If a Slice Occurs on a Virtual Dimension in a Cube That Has Multiple Partitions
FIX: MDX queries on a cube that contains a virtual dimension may not reflect changes after the incremental update on the virtual dimension
FIX: Performance Degradation and Memory Leak in the SQL Server ODBC Driver
FIX: Queries Return Empty Result Sets If a Calculated Member Is Defined by Using the NonEmptyCrossjoin Function
FIX: Registered Remote Servers Disappear from SQL Enterprise Manager in Windows XP When User Password is Changed
FIX: Rows are unexpectedly deleted when you run a distributed query to delete or to update a linked server table
FIX: Some cubes are not processed by the process database operation
FIX: The Analysis Services service may shut down when you drop sets and members and then run queries
FIX: The initialization phase of Analysis Services database processing takes several hours to complete
FIX: The OpenSchema Method Returns Null for the Custom Member Property of a Parent-Child Dimension Level
How to manually reinstall the Microsoft Search service for an instance of SQL Server 2000
How to set up a linked server to a Sybase database server and troubleshoot problems that may occur
How to use Reporting Services to configure and to access an Oracle data source
INF: How to Monitor SQL Server 2000 Blocking
INF: How to Monitor SQL Server 7.0 Blocking
INF: How to Troubleshoot SQL Server Merge Replication Problems
INF: Information that PSS needs to troubleshoot SQL Server replication
INF: PeopleSoft Financials Online - Benchmark (White Paper)
MDX Query Results May Not Be Correct If Dimension Security Is Defined on a Dimension
PRB: Error 1927: "There Are Already Statistics on Table <Table_Name> Named <Statistics_Name>"
PRB: ExOleDB Provider Doesn't Work with SQL Server 2000 DTS Tool
PRB: ODBC Admin Displays Only a Certain Number of DSNs
Support WebCast: Accessing and Manipulating Data in Microsoft SQL Server 2000 Databases by Using SQLXML UpdateGrams
Support WebCast: Data Transformation Services Package Scheduling - An Inside Look
Support WebCast: How to Collect and Analyze Performance Data in Microsoft SQL Server
Support WebCast: Introducing New Features in Microsoft SQL Server 2000 Transactional Replication
Support WebCast: Introduction to Microsoft SQL Server 2000 Clustering
Support WebCast: Microsoft SQL Server 2000 Desktop Engine (MSDE) Installation, Deployment, and Patching
Support WebCast: Microsoft SQL Server 2000 Failover Clustering Disaster Recovery Procedures
Support WebCast: Microsoft SQL Server 2000 Log Shipping
Support WebCast: Microsoft SQL Server 2000 Transactional Replication: Queued Updating Subscription
Support WebCast: Microsoft SQL Server 2000 Windows CE Edition Overview and Programming
Support WebCast: Microsoft SQL Server 2000: Alternate Synchronization Partner
Support WebCast: Microsoft SQL Server 2000: An Introduction to SQL Server 2000 (64-bit) and Analysis Services (64-bit)
Support WebCast: Microsoft SQL Server 2000: Understanding Backup and Restore
Support WebCast: Microsoft SQL Server 2000: Using Log Shipping
Support WebCast: Microsoft SQL Server 7.0 Common Problems and Resolutions
Support WebCast: Microsoft SQL Server: How to Configure, Manage, Use, and Troubleshoot Linked Servers
Support WebCast: Microsoft SQL Server: Rapid Blocker Script Analysis
Support WebCast: New Features in XML for Microsoft SQL Server 2000 Web Release 2
Support WebCast: SQL Server 2000 Database Recovery: Backup and Restore
Support WebCast: SQL Server CE Tips and Troubleshooting
Support WebCast: Understanding INSTEAD OF Triggers in Microsoft SQL Server 2000
Support WebCast: Understanding User-Defined Functions in Microsoft SQL Server 2000
TechNet Support WebCast: An introduction to Microsoft SQL Server 2000 Reporting Services
Unexpected behavior occurs when you run many processes on a computer that is running SQL Server
You may receive an error message when you try to install SQL Server on a computer that is running Windows Server 2003 Web Edition

[В начало]

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

How to Make Sure You Have Good Passwords
Robin Back
As many articles have covered SQL passwords are very easy to figure out. SQL passwords are stored in the sysxlogins table in master database. To access this table you have to be a member of the fixed role sysadmin or sysadministrator. Still there are programs out there that use the lack of SQL accounts lockout to hack a password. What can we do to prevent this or at least make it harder for them?
Ways to Determine the Version and SP of SQL Server
Dinesh Priyankara
Recently one of my co-workers came and asked me the correct version of SQL Server that we have installed in our company and the service pack. So, I asked him to run the SELECT @@VERSION in the Query Analyzer and see the result to get the version and service pack installed. He ran the query and got the result but still he could not get the correct service pack installed but version.
MS Access for the Business Environment: Analyze and Report from the Windows Event Log, Part I
William Pearson
This article continues the series, MS Access for the Business Environment. The primary focus of this series is an examination of business uses for the MS Access relational database management system. The series is designed to provide guidance in the practical application of data and database concepts to meet specific needs in the business world. The majority of the procedures I demonstrate in this article and going forward will be undertaken within MS Access 2003, although most of the concepts that we explore in the series will apply to earlier versions of MS Access, as well.
SQL Server 2000 DTS Part 10 - DTS Designer Tasks - The Data Driven Query Task
Marcin Policht
In the arsenal of DTS Designer Tasks, the one that leads in terms of versatility (and complexity) is the Data Driven Query Task. Its most distinctive feature, distancing it from other tasks, is its ability to not only handle inserts of rows during transformation, but also process any other T-SQL statements, such as UPDATEs, DELETEs, or stored procedures. This flexibility comes, however, with a performance price tag, so you should avoid it unless its added functionality makes its use justified or necessary. Insert operations are much more efficiently handled with previously discussed Transform Data and Bulk Insert tasks
MSSQL Server 2000 Reporting Services: The Authoring Phase: Overview Part I
William Pearson
This is the second article of the series MSSQL Server 2000 Reporting Services. The series is designed to introduce MSSQL Server 2000 Reporting Services ("Reporting Services"), with the objective of giving a preview of its features, as well as sharing my conviction in its role as a new paradigm in enterprise reporting. As I advise clients on a more and more frequent basis these days, this is the future in a big way. I hope you will consider my input valuable, and that you will investigate closely the savings and advanced functionality that will soon be available to anyone with an MSSQL Server 2000 (and beyond) license
DTS Servers and Schedulers for MS SQL
Muthusamy Anantha Kumar
DTS is a set of graphical tools and programmable objects that let you extract, transform, and consolidate data from disparate sources into single or multiple destinations that can be bundled and saved as a package and executed. In large organizations, it is a usual practice to keep, schedule and execute all of the DTS packages on a dedicated server. The intent of this article is to provide basic idea on
Storing scanned web-pages and files to SQL Server
Muthusamy Anantha Kumar
Learn how to explore any Internet web page and store partial or complete information to either an HTML file or Microsoft SQL server table
Microsoft SQL Server Reporting Services Poised For The Enterprise
Mario Morejon
Microsoft has taken reporting to a new level with the new SQL Server 2000 Reporting Services. It is a true enterprise reporting server since it integrates with SQL Server 2000 Enterprise and supports Web farm configurations and multiple CPU processing
Wrapping xp_sendmail
Dallas Monday
If you spend a lot of time developing and distributing extracts or reports, here's a technique for automating the process. In this article, Dallas Monday describes how to distribute text files, Excel spreadsheets, and even Access databases via e-mail using xp_sendmail. Sounds straightforward, right? Think again
Microsoft suit could set precedent for bad software
Shawna McAlearney
A Los Angeles filmmaker's lawsuit targeting Microsoft's vulnerable software could signal a sea change for the software industry if judges and jurors decide that vendors should be legally responsible for damages caused by flaws in their products
How to be a Good DBA - Strategy and Tactics
Jeffrey Yao
Having been a DBA for about 9 years, I am frequently asked by some programmers, “I am tired of coding, now I want to switch my career to be a DBA, so where should I start?” I promised that I would write an article to answer these questions based on my experience, so this article is mainly based on my experience as a SQL Server and DB2 DBA, and I welcome other DBAs to share their experiences on this topic
Save and Replay Trace Files
Vinod Kumar
SQL Server 2000 has given us an arsenal of tools to do RDBMS activity. And for tracing we have SQL Profiler that does beautiful profiling for us. Read my article on Standard Trace templates to understand the standard templates available. But in this article we take a closer look into how we can replay a trace file that is saved to the file system
Exploring Yukon T-SQL - Top Option
Vinod Kumar
This article was written on Beta 1 syntaxes. Hence we cannot guarantee the details provided will be exactly as found in the final RTM release. But the context and code-snippets outlined would give an indication to the features being introduced in the next release of SQL Server a.k.a Yukon
Auto Growth – insiders perspective
Vinod Kumar
Most DBA’s in various organizations are confronted with this simple little feature during their normal database-monitoring carrier. Most often the effects of the same are not realized unless we see the side effects of the same in the production code machines. This article would take you through some of the optimizing and practices that are followed in various parts of the world
Introduction into Caching in SQL Server 2000
Vinod Kumar
This topic has been in my minds for quite some time now. Just thought to get them into a understandable article for public use ... Well, most of the DBA's and many programmers of SQL Server should have heard of the terms data cahe and procedure cahe in conjunction with SQL Server. These are the primary building blocks or parts of the caching mechanism we all talk about. But what is this cache on first place?
Next Generation SQL Server Part II - Yukon
Vinod Kumar Welcome to the Part II of the series where we take a closer look into Yukon . The release of the next version of SQL Server, code-named Yukon , is expected in early 2004(as per news reports). The Yukon release will include the .NET Common Language Runtime (CLR), which will allow developers to write database objects such as stored procedures and triggers in .NET-compatible languages such as C# and VB.Net, C++.NET, J#. Yukon is still a long way off, but it is not too early to start preparing for the dramatic changes the new SQL Server release will bring - especially those associated with Microsoft's .NET Common Language Runtime (CLR)
Understanding SQL Performance Counters
Vinod Kumar
SQL Server 2000 does a good job in optimizing using the present hardware setup. But more often than not it becomes important for DBA's to analyze how healthy SQL Server is from time to time. No wonder DBAs get paid really good all around the world
Undocumented ODBC Syntaxes
Vinod Kumar
In the last article, we did see some of the un-documented stored procedures provided by Microsoft. In this article we look into another undocumented aspect of using SQL Server functions. These are not system functions. But we look into ODBC escape sequences that many of the datasource drivers support. And SQL Server is no exception. Here are some cool un-documented usages of ODBC syntaxes for some of the date, time and datetime manipulation
Next Generation SQL Server - Yukon
Vinod Kumar
I know that this is one topic that has raised interest in minds of many database designers. The next generation of SQL Server is full of promises. With the release of Yukon we will be able to do amazing things. What I would try to do here is to enlist some of the public information published on the internet. There are tons of links that come up if you were to search for "Yukon" on any search engine. We will try to highlight some interesting features available from the net. You can also visit the resources page to get a list of some of the links
Useful Trace Flags in SQL Server 2000
Vinod Kumar
In this article, I will walk you through what trace flags basically are and how you can use some useful trace flags in SQL Server 2000 for administering and monitoring. Trace flags are used to temporarily set specific server characteristics or switch off a particular behavior, You will see some of them explained below. You can set trace flags by using DBCC TRACEON command or by using the -T option with the sqlservr command-line executable. After activated, trace flag will be in effect until you restart server, or until you deactivate trace flag by using DBCC TRACEOFF command. There are quite a few options you can set while SQL Server service start. I've seen so many production environments that capitalize this feature. So lets get started off
Top 15 Undocumented Stored Procedures
Vinod Kumar
Since most of the commands discussed are undocumented there is high probability they can be removed in the next version or next Service pack. Hence use them with care and not on live Production environments
Understanding User Defined Functions (UDF) in SQL Server 2000
Vinod Kumar
This topic as such is new to SQL Server terms even though they have existed in the many other programming languages before. In this article I would walk you through some of the most common usage of UDFs in SQL Server 2000 context. Note that some of the tips and tricks used in this article are undocumented and are based on certain scenarios. Let us first understand what UDF means on first place. If I were to run to my quick reference friend SQL Server BOL, it descibes UDF as "UDF are subroutines made up of one or more Transact-SQL statements that can be used to encapsulate code for reuse". In other words I can say that UDFs are pre-prepared pieces of code that return you a valid value as output
Spell Checker in SQL Server 2000
Vinod Kumar
Have you ever imagined that you can write a spell checking mechanism in SQL Server 2000? Take a deep breath. In this article I will show you some cool features that SQL Server has and how we maximize the same
Understanding SQL Server Triggers
Vinod Kumar
Triggers are an innovative way to process your business applications in SQL Server. They are basically straightforward, being essentially just Stored Procedures, written in good old Transact-SQL. You can change the behavior of the process flow and can get confused if not used with caution. And in this article we take a closer look at how triggers function
Server-Side Profiling in SQL Server 2000
Vinod Kumar
Profiling applications in real-time applications has been one of the requirements of any organization. In the previous article, I discussed how we can build User-Defined counters from SQL Server 2000. This was just a start to debugging our applications and to build stronger systems. In this article we would look at how profiling can be taken to another level using custom profiling
Reading an XLS from SQL Server 2000
Vinod Kumar In the first part of the article we have seen how we can write an tables data into SQL Server using simple DTS techniques (read Part I). In this article we look at the other side of getting data out back from an Excel sheet back into SQL Server
Loop through T-SQL Result Set
Vinod Kumar
In this article I would concentrate on the various looping mechanisms available using Transact SQL. I do have mentioned the use of Curosrs as evil in my "Server 2000 Best Practices" article. But the very next question asked to me immediately is, then how do I loop through a resultset without using Cursor. Here are some of the alternatives in your disposal
SQL Server 2000 Best Practices
Vinod Kumar
Best Practices is a great and wonderful thing … that is if everyone working on the project adheres to them
Lock Basics
Vinod Kumar
Understnading the various locking mechanism is one of the important aspects for developing Online Transaction Processing (OLTP) applications. Now before we get into how the locks are handled, Why Locks on first place? As any databse for that matter has to maintain the concurrency and consistency of data between two different requests we have locks in place
Normalizing Techniques - A closer look
Vinod Kumar
More often than not database users have not able to understand what the various normalization techniques are. In this article I would try to address these principles in a simple terms and examples. Applying and knowing the principles of normalize and implement the them to your daily database design is an simple process and this can come with performance improvements. Not wasting much time lets get going
Updating SQL Server Connection Properties from the DTS Package INI File
Muthusamy Anantha Kumar
In a typical development, QA or production environment, it can be very hectic to change all of the connection parameters, such as source file path, destination server name, table name, userID, password etc. in the DTS package when we move the packages from one environment to another environment. This article will step you through the use of the INI file with DTS package and how to update the connection properties from the INI file during run time
A Different Setup
Itzik Ben-Gan
Think differently about set relationships and member properties. Last month, in "Set Members and Relationships", I presented a group of problems that dealt with identifying sets that have certain relationships with other sets. I mentioned that in relational algebra, the problems I discussed involve relational division. Using a common Orders-OrderDetails scenario, I showed how to find existing orders that had the same products as a new order entered into the system and other variations of the problem. I use these same scenarios again in this article's examples
Linked Servers on MS SQL: Part 1
Don Schlichting
Think of a Linked Server as an alias on your local SQL server that points to an external data source. This external data source can be Access, Oracle, Excel or almost any other data system that can be accessed by OLE or ODBC--including other MS SQL servers. An MS SQL linked server is similar to the MS Access feature of creating a "Link Table."
Reporting Services Part I: Overview, Architecture and Installation
James Luetkehoelter
So it's here. Finally. For those of you who haven't had a chance to work with the beta, it's probably a good idea to download the evaluation version and start. This add-on should be widely adopted in a relatively short time. It doesn't matter if you're primarily a developer or primarily a DBA -- there's a great deal to know in both arenas
Learning Guide: SQL
Sara Cushman
Whether you are a newbie or a seasoned expert looking to tweak query performance, this learning guide to the structured query language (SQL) has something for you. The eight chapters can help you figure out how to get the data you need by looking at solutions to real-world problems. The advice listed below comes from SQL gurus Rudy Limeback and Joe Celko
What's New and Cool in SQL Server "Yukon"
Peter W. DeBetta
Sure, SQL Server has lots of features that make it easy to manage and administer. Sure, it's a world-class relational database management system. Sure, Transact-SQL (T-SQL) is an easy-to-learn language. Yet despite these and other facts, many developers only have a cursory knowledge of programming in SQL Server. I am here to announce that all that will change with SQL Server "Yukon"
Generate Next Numbers with SQL Server
Dinesh Asanka
Generating next numbers in SQLServer should not be a problem. But problem arises when customer ask for different types of next numbers where you cannot generate directly from SQLServer. This brief article describes how you would tackle this problem in different scenarios
Disaster Recovery Reporting scripts
Joseph Sack
Have you ever been asked a seemingly simple question about a SQL Server configuration, and realize that you do not remember (or do not know) the answer?

[В начало]

ФОРУМ SQL.RU

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

Ваше мнение об упражнениях SELECT на http://sql.ipps.ru
Кто на чем пишет клиентов под SQL Server?
Нынче по небу правильно солнце идет
Разработчикам складских баз: подсчет складских остатков
GUID-ы
Если LEFT JOIN - то тормоза...
Advanced Transact-Sql For Sql Server 2000 [Itzik Ben-Gan]
SQLServer & AD
Курсорыв триггерах
Как запросом считать только не за "commit" ченные данные из таблицы?
Железо для SQL Server
Запрос на UPDATE
Падают индексы
Как прочитать данные из временной таблицы?
Почему нельзя использовать условие ' = null'
Меньшая производительность MS SQL по сравнению с PostgresSQL
Производительность SQL сервера
замена дублирующихся пробелов
Не видит SCSI диск
Сортировка по списку значений

[В начало]

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

sp_help_revlogin для 6.5 ?
differential backup не хочет ресториться.
Microsoft SQL Server 2000 Reporting Services
Есть ли у кого такая комбинация NetRaid4m & Raid 10???
SOS DB-Library bcp
Срочно нужны специалисты по MS SQL
Протестируйте утилиту SQLIO, стресс-тест для подсистемы I/O
Нужно сделать такой запрос для DTS(Part 2)
как поменять приоритет сетевых протоколов на sql6.5
Репликация в Navision Attain and SQL server
Интересно ваше мнение по следующему вопросу
перенос Users и Roles
Перехват сообщений сервера при бекапе
SQL Server Data Modeling Survey
xsd в базу
а где эту галочку trusted connection найти ?
проблемы авторизации
Как получить значение READTEXT в ПХП
загадочное поведение xp_sendmail

[В начало]


Вопросы, предложения, коментарии, замечания, критику и т.п. присылайте Александру Гладченко на адрес: mssqlhelp@km.ru

sql.ru Описание рассылки

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




http://subscribe.ru/
E-mail: ask@subscribe.ru
Отписаться
Убрать рекламу

В избранное