Hiển thị các bài đăng có nhãn IT_Database. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn IT_Database. Hiển thị tất cả bài đăng

Thứ Năm, 2 tháng 10, 2014

Cannot insert the value null into column 'diagram_id', table dbo.sysdiagrams

http://www.johnsoer.com/blog/?p=182

Cannot insert the value null into column ‘diagram_id’, table dbo.sysdiagrams

July 6th, 2009 | Author: Arjo Soer

When ever I copy the database from the production server to the development machine the database throws an error when updating a database diagram or creating a new database diagram. The error in question is

The solution to this problem is rather simple go to dbo.sysdiagram table and set change the diagram_id default value to 0. However when you right click to bring up the design window for the dbo.sysdiagram table the option is disabled.

Open up the columns and right click on the diagram_id column and select modify

This loads the sysdiagram design window from where you can set the default value of the diagram_id field

Save the changes and you will be able to update existing database diagrams and create new database diagrams.

Note this solution may not work for ever and has only been tested on sql server 2005.

Tags: Cannot insert the value null into column 'diagram_id', Diagram, table dbo.sysdiagrams

4 Responses to “Cannot insert the value null into column ‘diagram_id’, table dbo.sysdiagrams”

July 17, 2009 at 8:22 am

May be you need to set an autoincrement for this field?))

July 17, 2009 at 2:29 pm

I believe that is a better solution since with the current solutions once you create a second diagram it overwrites the first diagram.

  • Sudipta says:

March 30, 2012 at 3:39 pm

superb solution

August 26, 2012 at 7:18 am

Hey. Very cool web site!:0))

 




This email is free from viruses and malware because avast! Antivirus protection is active.


Thứ Sáu, 12 tháng 9, 2014

Work with Multiple Versions and Instances of SQL Server

http://msdn.microsoft.com/en-us/library/ms143694.aspx

 

Work with Multiple Versions and Instances of SQL Server

SQL Server 2014

Other Versions

6 out of 8 rated this helpful - Rate this topic

SQL Server supports multiple instances of the Database Engine, Analysis Services, and Reporting Services on the same computer. You can also upgrade earlier versions of SQL Server, or install SQL Server on a computer where earlier SQL Server versions are already installed. For supported upgrade scenarios, see Supported Version and Edition Upgrades.

Version Components and Numbering

The following concepts are useful in understanding the behavior of SQL Server for side-by-side instances of SQL Server.

The standard product version format for SQL Server is MM.nn.bbbb.rr where each segment is defined as:

MM - Major version

nn - Minor version

bbbb - Build number

rr - Build revision number

In each major or minor release of SQL Server, there is an increment to the version number to differentiate it from earlier versions. This change to the version is used for many purposes. This includes displaying version information in the user interface, controlling how files are replaced during upgrade, applying service packs, and also as a mechanism for functional differentiation between the successive versions.

Components shared by all versions of SQL Server

Certain components are shared by all instances of all installed versions of SQL Server. When you install different versions of SQL Server side-by-side on the same machine, these components are automatically upgraded to the latest version. Such components are usually uninstalled automatically when the last instance of SQL Server is uninstalled.

Examples: SQL Server Browser and Microsoft SQL Server VSS Writer.

Components shared across all instances of the same major version of SQL Server

SQL Server versions that have the same major version share some components across all instances. If the shared components are selected during upgrade, the existing components are upgraded to the latest version.

Examples: Integration Services, Master Data Services, SQL Server Management Studio, SQL Server Data Tools (SSDT), and SQL Server Books Online.

Components shared across minor versions

SQL Server versions that have the same major.minor version shared components.

Example: Setup support files.

Components specific to an instance of SQL Server

Some SQL Server components or services are specific to an instance of SQL Server. These are also known as instance-aware. They share the same version as the instance that hosts them, and are used exclusively for that instance.

Examples: Database Engine, Analysis Services, and Reporting Services.

Components that are independent of the SQL Server versions

Certain components are installed during SQL Server setup, but are independent of the versions of SQL Server. They may be shared across major versions or by all SQL Server versions.

Examples: Microsoft Sync Framework, SQL Server Compact.

For more information about SQL Server Compact installation, see Install SQL Server 2014 from the Installation Wizard (Setup). For more information about how to uninstall SQL Server Compact, see Uninstall an Existing Instance of SQL Server (Setup).

Using SQL Server Side-By-Side with Previous Versions of SQL Server

You can install SQL Server on a computer that is already running instances of an earlier SQL Server version. If a default instance already exists on the computer, SQL Server must be installed as a named instance.

Caution

SQL Server SysPrep does not support side by side installation of prepared instances of SQL Server 2014 with earlier versions of SQL Server on the same computer. For example, you cannot prepare a SQL Server 2014 instance side by side with a prepared instance of SQL Server 2012. However, you can install multiple prepared instances of the same major version of SQL Server side by side on the same computer. For more information, see Considerations for Installing SQL Server Using SysPrep.

SQL Server 2014 cannot be installed side-by-side with earlier versions of SQL Server on a computer that is running Windows Server 2008 R2 Server Core SP1. For more information on Server Core installations, see Install SQL Server 2014 on Server Core.

The following table shows side-by-side support for SQL Server 2014:

Existing instance of SQL Server 2014

Side-by-side support

SQL Server 2014 (32-bit)

SQL Server 2005 (32-bit)

SQL Server 2005 (64-bit) x64

SQL Server 2008 (32-bit)

SQL Server 2008 (64-bit) x64

SQL Server 2008 R2 (32-bit)

SQL Server 2008 R2 (64-bit) x64

SQL Server 2012 (32-bit)

SQL Server 2012 (64-bit) x64

SQL Server 2014 (32-bit)

SQL Server 2014 (64-bit) x64

SQL Server 2014 (64-bit) x64

SQL Server 2005 (32-bit)

SQL Server 2005 (64-bit) x64

SQL Server 2008 (32-bit)

SQL Server 2008 (64-bit) x64

SQL Server 2008 R2 (32-bit)

SQL Server 2008 R2 (64-bit) x64

SQL Server 2012 (32-bit)

SQL Server 2012 (64-bit) x64

SQL Server 2014 (32-bit)

SQL Server 2014 (64-bit) x64

Preventing IP Address Conflicts

When a SQL Server Failover Cluster Instance is installed side-by-side with a standalone instance of the SQL Server Database Engine, take care to avoid TCP port number conflicts on the IP addresses. Conflicts usually occur when two instances of the Database Engine are both configured to use the default TCP port (1433). To avoid conflicts, configure one instance to use a non-default fixed port. Configuring a fixed port is usually easiest on the standalone instance. Configuring the Database Engine to use different ports will prevent an unexpected IP Address/TCP port conflict that blocks an instance startup when a SQL Server Failover Cluster Instance fails to the standby node

 

Thứ Năm, 21 tháng 8, 2014

Hướng dẫn xuất tệp DLL tạo CSDL SQL Server tương thích với tính năng Reverse Engineer cua ERWin 7.3

BCT: Thursday, August 21, 2014


Do phần mềm ERWin 7.3 chỉ hỗ trợ cho các phiên bản SQL Server 2005/2008 nên muốn chuyển thiết kế CSDL có sẵn trong SQL Server các phiên bản cao hơn (2012, 2014) sang ERWin để kế thừa và phát triển thêm thì phải xuất đúng định dạng mới Reverse được. Nếu sử dụng tệp DLL lưu dưới dạng UNICODE thì sẽ tạo lỗi "Syntax Error – Line 0, offset 0"

Yêu cầu:

-          Tệp DLL phải lưu dưới dạng mã ANSI

-          Cấu trúc mã sql phải theo chuẩn SQL Server 2005/2008

Cách làm như sau:

 

 

Notes:

-          ERWin 7.3 trợ giúp thiết kế cơ sở dữ liệu rất mạnh mẽ, giao diện đồ họa tiện dụng, tạo báo cáo thiết kế CSDL trong nháy mắt (rất hữu dụng trong việc review và chỉnh sửa thiết kế), hỗ trợ kết nối và tạo CSDL trong các hệ quản trị CSDL, …

-          Tuy nhiên phiên bản này không hỗ trợ UNICODE, do đó muốn sử dụng tiếng Việt phải sử dụng code là .VNTime hoặc VNTime (thường là trong trường Description của các trường dữ liệu, hoặc Notes của các bảng). Phần mềm này hỗ trợ tạo báo cáo thiết kế CSDL tự động nên sau đó có thể sử dụng tính năng Chuyển mã nhanh của phần mềm UNIKEY để chuyển toàn bộ văn bản về mã UNICODE

 

Chủ Nhật, 1 tháng 6, 2014

Management Studio does not fully manage Full-Text in SQL Server Express

-- BCT, 1/6/2014
-- Cách để tạo Full Text Search trong SQL Server Express 2012-2014
-- Lỗi là do Management Studio không phân biệt được phiên bản Express không hỗ trợ Full Text Search với
-- phiên bản Express Advantage có hỗ trợ Full Text Search
-- Tuy không tạo được bằng Winzard trên Management Studio nhưng vẫn có thể sử dụng dòng lệnh để tạo

-- 1st: tạo catalog
--CREATE FULLTEXT CATALOG tbl_khcn_catalog;
--go


-- 2nd: tạo Full text Search cho cột "ten" theo ngôn ngữ Vietnamese
CREATE FULLTEXT INDEX ON tbl_khcn(ten LANGUAGE Vietnamese)
KEY INDEX PK_tbl_khcn ON tbl_khcn_catalog;

-- 3rd: sau đó có thể phải chuột vào bảng và chọn Full Text Search/Properties
-- và chọn thêm các cột khác cần tìm bằng Full Text

Tham khảo chi tiết tại:
http://connect.microsoft.com/SQLServer/feedback/details/740181/management-studio-does-not-fully-manage-full-text-in-sql-server-express

Thứ Năm, 22 tháng 5, 2014

Different ways to enable FILESTREAM feature of SQL Server 2008

http://www.mssqltips.com/sqlservertip/1838/different-ways-to-enable-filestream-feature-of-sql-server-2008/

Different ways to enable FILESTREAM feature of SQL Server 2008

By: Ashish Kumar Mehta   |   Read Comments (2)   |   Related Tips: More > FILESTREAM

Problem
A new feature in SQL Server 2008 is the FILESTREAM feature which allows you to store BLOBs in the NTFS file system instead of in the database.  In order to use this new feature it has to be enabled.  In this tip I go over four different options to enable the FILESTREAM feature.

Solution
In SQL Server 2008 one can store BLOBs (e.g. Images, video, word, excel, PDF, MP3, etc) in the NTFS file system rather than in a database file. This can be done by using the new FILESTREAM feature which was introduced in SQL Server 2008. However, in order to enable the FILESTREAM feature you need to be a member of the SYSADMIN or SERVERADMIN fixed server roles.

There are different ways in which one can enable FILESTREAM feature in SQL Server 2008. Let us go through each option one by one.


Enable FILESTREAM Feature Using SQL Server Configuration Manager

1. Click Start | All Programs | Microsoft SQL Server 2008 | Configuration Tools | SQL Server Configuration Manager.

This will open up SQL Server Configuration Manager as shown in the below snippet

 

2. In the left panel of SQL Server Configuration Manger, click on SQL Server Services, this will list all the SQL Server 2008 related services on the right side panel.

3. Click on SQL Server (MSSQLSERVER) service instance in case of a default installation. However, in case of a named instance you need to choose SQL Server (Instance Name) service and right click the same to see the properties for the service.

4. In SQL Server Properties dialog box, you need to click on FILESTREAM tab and Enable FILESTREAM for Transact-SQL access checkbox, this will enable the rest of the options.

5. If you are interested in enabling read and write FILESTREAM data from windows, then click Enable FILESTREAM for file I/O streaming access and specify the name of the windows file share in the Windows Share Name textbox.

6. If you require remote clients to access the FILESTREAM data that is stored in the share, then select Allow remote clients to have streaming access to FILESTREAM data option as shown in the below snippet.

7. Finally click OK to save the changes.


Enable FILESTREAM Feature Using Transact SQL (TSQL)

The FILESTREAM feature of SQL Server 2008 can also be enabled using the Transact SQL (TSQL).

In the SQL Server 2008 Management Studio, open a new query window and type the below TSQL Query to enable FILESTREAM feature.

USE master

Go

EXEC sp_configure 'show advanced options'

GO

EXEC sp_configure filestream_access_level, 1

GO

RECONFIGURE WITH OVERRIDE

GO

There are 3 levels of FILESTREAM access which are supported in SQL Server 2008 and they are mentioned below for your reference.

  • When the value specified is 0 then, FILESTREAM support for the instance is Disabled
  • When the value specified is 1 then, FILESTREAM for Transact-SQL Access is Enabled
  • When the value specified is 2 then, FILESTREAM for Transact-SQL and Windows streaming access is Enabled

Enable FILESTREAM Feature at SQL Server Instance Level using SQL Server 2008 Management Studio (SSMS)

The FILESTREAM feature of SQL Server 2008 can also be enabled at the SQL Server Instance level using SQL Server Management Studio by following the below mentioned steps.

1. Connect to SQL Server 2008 Database Instance using SQL Server 2008 Management Studio

2. In the Object Explorer, right click the database instance and select Properties to view the Server Properties

3. On the left panel click on the Advanced tab, then click on the drop down list next to Filestream Access Level and select Full access enabled option as shown in the below snippet

4. Finally click OK to save the changes.


Enable FILESTREAM Feature during the Installation of SQL Server 2008

The FILESTREAM feature can also be enabled during the installation of SQL Server 2008. A DBA can enable this feature by clicking on the FILESTREAM tab of the Database Engine Configuration screen and can choose all the available options as per his requirement as shown in the snippet below.

Next Steps:



Last Update: 9/16/2009

Thứ Hai, 14 tháng 4, 2014

New Features of CA ERwin® Data Modeler r8

http://www.dwh-club.com/dwh-bi-articles/new-features-ca-erwin-data-modeler-r8.html

New Features of CA ERwin® Data Modeler r8

Author(s): 
Bralgin, Igor


Disclaimer
.
This article is not an official CA Technologies material. Use this article to first look briefly at features and changes which were made in ERwin 8r. Use the CA ERwin Data Modeler Help system to get the detail official information.

New Features of CA ERwin® Data Modeler r8

On 2011 year, CA Technologies launched new r8 version of its well-known modeling product family. This product bunch includes CA ERwin Data Modeler, CA ERwin Data Model Validator, CA ERwin Data Profiler, and CA ERwin Data Modeler Saphir Option for ERP. With the exception of ERwin 8r, all other products of the 8r line are not described in this article.

There are a number of distinct editions of CA ERwin Data Modeler 8r: Community Edition, Navigator Edition, Standard Edition, and Workgroup Edition.

CA ERwin Data Modeler r8 has many new features and enhancements applied to functionality and the user interface. This article briefly reviews new features of CA ERwin® Data Modeler r8.

There are the several following novelties and enhancements in ERWin of version 8r:

  • Bulk Editor and Bulk Editor Wizard
  • Support of Newest Database Management System Versions
  • Crystal Reports
  • Subject Areas
  • Auto Hide Feature
  • Toolbars
  • Panes
  • Text Editor and Spell Checker
  • Auto-layout options
  • Property Editors' Enhancements
  • Link objects and Link Wizard
  • New Zoom Tool and Overview pane
  • Go To Functionality
  • Annotation and drawing objects
  • Object's Hint
  • Diagram Picture
  • Model Themes
  • History and Notes

Bulk Editor and Bulk Editor Wizard

The Bulk Editor is one of the new features of CA Erwin Data Modeler 8r. Using the Bulk Editor can be extremely useful in case of a need to review and edit numbers of model objects' properties. For example, imagine all model entities and all tables do not have definition attributes and the goal is to add definitions for each entity and each table. Instead of opening serially the property window for each object, we can perform bulk editing of definitions for all these objects in the Bulk Editor. Also, another advantage is that Bulk Editor allows us to work with properties and objects without installing ERwin. Suppose some of the employees do not have ERwin installed on their computers, and these employees want to participate in reviewing and editing a data model. The Bulk Editor is the solution for both situations. Let us briefly review how we can provide model's information and perform bulk editing in these cases.

First of all, to display the Bulk Editor pane within the work area of CA Erwin Data Modeler, choose Windows menu item on the View menu and click Bulk Editor Pane item. Likewise all other panes of Erwin Data Modeler 8r, the Bulk Editor can be resized, rearranged, hided or floated within the application. Because the Bulk Editor is empty the first time we open it, click the Bulk Editor Wizard icon  on the pane toolbar. The Bulk Editor Wizard is opened, and we can select objects and properties which are should be reviewed and edited.

The Bulk Editor Wizard contains the following pages: Overview page, Object Types page, Property Types page, Object Instances page, Display Order page, and User Settings page.

  • The Overview page provides short description for each page of this wizard.
  • The Object Types page lets us choose and select the types of objects which would be used in the Bulk Editor.
  • The Property Types page lets us choose and select the properties to edit for each object.
  • The Object Instances page lets us choose and select the particular objects from the model to use in the Bulk Editor.
  • The Display Order page lets us specify order in which rows for the object types and columns for the properties would be displayed in the Bulk Editor.
  • The User Settings page lets us manage optional behavior of the Bulk Editor.

Having chosen all necessary options and clicking Edit button, we can see all chosen object and their properties in the Bulk Editor. Now, we can directly edit objects' properties in the Bulk Editor. We can edit almost all objects' properties except for system maintained properties, vector properties (properties with more than one value), and bit-field properties, such as Trigger Type. It is possible to copy value to clipboard, make changes and paste the changes back into the Bulk Editor, delete objects, etc.

Moreover, I believe this is its most important feature, the Bulk Editor lets us export information to and import it from an external csv-file. Thus, when it is needed to perform bulk editing of model objects' properties outside ERwin, just perform the following steps:

  • Use the Bulk Editor Wizard to choose object types, property types, and object instances to populate the Bulk Editor
  • Select the rows in the Bulk Editor which you want to edit in external spreadsheet application, and click the "Save selected rows to .csv file" icon  on the pane toolbar to export information to a csv-file
  • Open the csv-file in the spreadsheet application – employees without installed ERwin can be provided with this csv-fail, – perform needed editing, and save the file
  • In the Bulk Editor, click the "Import model updates from .csv file" icon  on the pane toolbar to import the updates from the csv-file.


Figures 01-08. Using Bulk Editor and Bulk Editor Wizard (the images are clickable)

Doubtless, ability to perform bulk changes of many objects and properties and especially ability to export and import data make the Bulk Editor an extremely useful tool for data modelers.

Support of Newest Database Management System Versions

Erwin Data modeler r8 includes updated support for DB2 for LUW and DB2 for z/OS, provides improved support for SQL Server 2008, and support for Teradata 13.0.

Support for SQL Server 2008 features includes:

  • Filtered indexes
  • Sparse columns
  • Change data capture
  • Synchronous net-changes change tracking
  • New data types (DATETIME2, DATETIMEOFFSET, TIME; GEOGRAPHY, GEOMETRY; FILESTREAM; HIERARCHYID)

The following new physical objects were added to support SQL Server 2008:

  • Cryptographic Providers
  • Database Audit Specifications
  • Database Encryption Keys
  • Full-text Stoplists
  • Resource Pools
  • Server Audit Specifications
  • Server Audits
  • Spatial Indexes
  • Workload Groups

The following Teradata Version 13 features were included:

  • Global Persistent Data Sets
  • Replication Rule Sets

Crystal Reports

A copy of Crystal Reports 2008 and the Report Viewer are included with ERwin 8r (note Crystal Reports is not included with the Community Edition of ERwin 8r). Crystal Reports can be used to build reports on any open model. To create reports, we set ERwin as the current data source and query the ERwin metadata. Pre-designed reports are available and can be reached by using the Pinned Reports menu item of the Tools menu. Although Crystal Reports is not available in the Community Edition of ERwin, the Report Viewer allows us to view pre-designed reports.

Pre-designed reports are available and can be reached by using the Pinned Reports menu item of the Tools menu. The following pre-designed reports are available in ERwin r8: Current Diagram Membership (Logical).rpt; Current Diagram Membership (Physical).rpt; Diagram Picture Report.rpt; Inheritance State of Attributes.rpt; Inheritance State of Columns.rpt; Logical Dictionary.rpt; Logical-Physical Combined Dictionary.rpt; Logical-Physical Properties.rpt; Physical Dictionary.rpt; Physical Indices.rpt; Session Activity.rpt; Subject Area Membership.rpt.

The Report Viewer provides the capability to view and refresh the reports, search a text within reports, print reports, and export reports to other formats. The following formats are supported: Adobe PDF (.pdf), Microsoft Excel 97-2003 (.xls), Microsoft Word (97-2003), Rich Text Format (.rtf), and XML (.xml).

Subject Areas

ERwin r7.x concept of Main Subject Area is now obsolete. Moreover, in ERwin r8, it is not necessary that a model contains a subject area at all. Depending on the particular model's needs, subject areas can be created or not.

When an r7.x model is opened in ERwin 8r, the Model Upgrade wizard opens. The wizard provides options to choose whether to retain the main subject area in the upgraded model or not.

Auto Hide Feature

The Auto Hide option can be turned on for all Windows panes (Explorer Pane, Action Log Pane, Advisories Pane, Overview Pane, and Bulk Editor Pane). If this option is On for a certain pane, the pane only appears when it is needed for work and the pane hides at all other times.

To activate Auto Hide option, click the pushpin icon  in a pane title bar; just then the pane becomes a tab in the application.



Figures 09. ERwin 8r Auto Hide Features (the image is clickable)

If a hidden pane is needed to work, just move the mouse pointer over the tab that represents the needed pane; and the pane will be restored. When the mouse pointer leaves the pane area, the pane is auto-hides and becomes the tab once again.

To turn off Auto Hide feature, click the pushpin icon  in a pane title bar when the pane is open.

Toolbars

We can see several new toolbars in the new version of ERwin Data Modeler. Moreover, each toolbar can be personalized by using the drop-down menus associated with each toolbar. These drop-down menus allow us to customize any toolbar. Any specific tool can be showed or hidden on the toolbar.



Figures 10-11. ERwin 8r Toolbars and Toolbar's customization (the images are clickable)

Panes

There are five additional panes in ERwin 8r: Explorer pane, Action Log pane, Advisories pane, Overview pane, and Bulk Editor pane. The panes provide additional useful functionality.
Each pane can be hidden or showed by using the Windows menu item of the View menu. Also, panes can be docked at a convenient for a modeler position (positioned to any border of workspace), can be put in any place of the workspace (floating position). Moreover, each pane can be set in the auto-hide mode providing eo ipso much more space for diagram.



Figures 12. ERwin 8r Window Pane Menu (the image is clickable)

Text Editor and Spell Checker

The Text Editor is available in dialog tabs which provide the capability to work with text, such as the Comment tab, the Definition tab, etc. The Text Editor provides additional functionality to work with the text: to save, to print, to search and/or replace text, and especially to check the spelling of the text written in this fields.

Spell-check functionality of ERwin 8r allows us to check whether we have made any spelling mistakes in the text. Also, these are possible to select dictionary languages, customize the dictionaries, specify various spelling-checker options, and determine the speed and accuracy of search for suggested replacements for misprinted words.



Figures 13-15. ERwin 8r Spell Checker and Spelling Options (the images are clickable)

Auto-layout options

ERwin 8r allows us quickly and automatically lay out diagram's objects which are become disorganized during designing process. It is possible to implement a particular layout type to several selected diagram's items, or an entire model can be organized in a certain style of layout. Layout types include:

  • Circular Layout
  • Hierarchical Layout
  • Orthogonal Layout
  • Symmetrical Layout
  • Tree Layout

To automatically lay out a diagram, the Layout Toobar or the Layout menu item of the Diagram menu can be used.



Figures 16-20. Northwind Diagram in Different Layouts:
Circular Layout, Hierarchical Layout, Orthogonal Layout, Symmetrical Layout, and Tree Layout

(the images are clickable) 

Property Editors' Enhancements

Property Editors are significant enhanced in ERwin 8r. The editor dialog windows became resizable, scrollable, and adaptable. Enhancements were made to the Property Editors' tabs. Also, there are some new tabs: the Link tab, the Style tab, the Where Used tab, and the Notes tab.

  • The Link tab allows us to view and manage the column denormalization transformations.
  • The Style tab allows us to define a display style for the selected object by using a Theme.
  • The Where Used tab allows us to see where an object is used in the model.
  • The Notes tab allows us to see, enter or modify user notes for the object and view object history.


Figures 21. ERwin 8r Property Editors' Enhancements (the image is clickable)

Link objects and Link Wizard

The column denormalization transformation is implemented differently in versions r8 and ERwin r7.x. To perform the column denormalization, the Link object is used. A Link object is automatically created to link an attribute/column of a source entity/table to an attribute/column of a target entity/table. The Link object synchronizes all changes of one attribute/column to another attribute/column.

The Link Wizard is used to create Link objects and define their properties. The Attribute Editor and the Column Editor contain the Link tab which allows us to launch the Link Wizard.

When an r7.x model that contains column denormalization transformations is converted to r8, the attributes of the column denormalization transformations become the link objects.



Figures 22. Creating of ERwin 8r Link Object (the image is clickable)

New Zoom Tool and Overview pane

New Zoom Bar is located on the bottom right-hand corner of the application. The Zoom bar consists of two parts. The first is the rectangle button which displays percentage information. Clicking on this button shows the pop-up rectangle which provides choice from the list of zoom percent values. The second element is the zoom slider. Dragging the pointer of this slider, the scale of diagram image can be changed between 1% and 200%. Also, the zoom percent value can be manipulated by clicking on the plus or minus signs at the ends of the zoom slider.

There is one more way to change the scale of diagram image and navigate through a model. The ERwin 8r Overview pane has the marquee rectangle that is used to determine diagram's area that is visible in the drawing workspace. Moving and resizing of this marquee rectangle can change visible diagram's area as well as scale of diagram image.



Figures 23. ERwin 8r New Zoom Tool and Overview pane (the image is clickable)

Go To Functionality

Go To functionality allows us to quickly change the diagram focus to the needed diagram's object. The Go To dialog box is launched by pressing Ctrl+G keys. The dialog box contains the list of all model's objects. Select any item from the list and click the Go To button, to move focus to this object on the diagram.



Figures 24. ERwin 8r Go To Dialog Window (the image is clickable)

Annotation and drawing objects

In additional to drawing object, new object that is called Annotations is available in ERwin 8r. Unlike drawing object which are "local" object and has restricted visibility, annotations have "global" visibility and can be reused across all diagrams. Note annotation objects require additional memory, so use them if they are needed across a few models.

The new Drawing toolbar contains more drawing tools that the Drawing toolbar of ERwin 7r does, but the Polygon and the Text tools are omitted from the ERwin 8r Drawing toolbar. Omitting the text tool from Drawing objects looks no so good because of creating a new global object every time a text commentary needs, even though this commentary is not reused.

Object's Hint

This is a pleasant effect rather than big improvement. When the cursor moves over diagram's object, the hint appears and shows us information about this object.



Figures 25. Object's Hint in ERwin 8r (the image is clickable)

Diagram Picture

Generation of illustrated (pictorial) reports is available in Erwin 8r. The illustrated reports can be useful to share a data model with colleagues who do not have CA Erwin Data Modeler installed on their computers. To generate a diagram picture, use the Diagram Picture menu item of the Tools menu. Also, an illustrated report can be created by using Crystal Reports integrated into ERwin 8r.

Model Themes

ERwin 8r provides more capability for art designing models and diagrams than previous versions of this modeling tool do. Art features are available by using themes. Themes are a combination of formatting and display options (such as font, color, style, etc.) which can be applied to design model's objects. The theme features of Erwin allow us to completely control over color, lines, and gradients for the diagram or any objects. To modify a theme or create a new theme, the Theme Editor is used.

History and Notes

ERwin 8r can trace the history of all diagram's objects. Moreover, the History and Notes functionalities are combined. ERwin provides data designers with a complete list of automatically generated historical records and commentaries written by the model's developers.

(Chơi cho vui) AIRDROP CHAINGE FINANCE - dự án xây dựng ứng dụng ngân hàng số cho mọi người

 Không hiểu lắm về cái này, tuy nhiên thấy quảng cáo khá nhiều, lại chỉ cung cấp vài thông tin cá nhân (mà mấy ông lớn như facebook với goog...