יום ראשון, 14 בדצמבר 2008

Change Manager- Version 5.0.2

Available now is a new release of Change Manager, Version 5.0.2, which has many performance and usability enhancements as well as some useful new features:

New settings for reports to show only those that were different in a comparison allow you to focus on what's really important: things that don't match

A new system tray notifier will optionally popup to let you know when those long running jobs are done. This sexy new feature was born from Innovation Day and finally made its way into a release.

Extract archive DDL for an entire captured schema archive

Set default options for new jobs

You can now attach log files to job notifications to track job outcomes (but please don't set support@embarcadero.com as the receiver)

System object filters now provide a single check box to include or exclude those schema objects from your archives and comparisons

Most importantly though, Change Manager 5 can now run on Linux RedHat and Suse operating systems.

יום שני, 8 בדצמבר 2008

Column Permissions

בעיה:
ידוע שניתן לגדיר ב- SQL server הרשאות למשתמשים ברמת השרת \ בסיס נתונים \ אובייקטים.
האם ניתן להגדיר הרשאות ברמת העמודה בטבלה?

פתרון:
ישנם מקרים בהם אנו מנהלי בסיסי הנתונים מעוניינים להגדיר הרשאות ברמת העמודה.

דרך ביצוע:
קליק ימני על הטבלה המיועדת ß properties
בקטגוריית ה- permissions מגדירים למשתמש הספציפי רמת הרשאות select .
לאחר-מכן, תחת ה- column permissions מגדירים את רמת ההרשאות ברמת העמודה.

לדוגמא:
בטבלה CCTable1 המשתמש Pat לא יוכל לראות את עמודת מספר כרטיס האשראי של הלקוח, אלה רק את שם הלקוח.

יש לציין כי במקרה ואנו מגדירים הרשאות ברמת העמודה, המשתמש לא יוכל לבצע שליפה מהטבלה ע"י select * , אלה הוא יצטרך לציין במפורשות את שמות העמודות שהוא מעוניין לראות.

במקרה ובכל זאת יבצע שליפה עם select * המשתמש יקבל את ההודעה:

Msg 230, Level 14, State 1, Line 1
The SELECT permission was denied on the column 'CustID' of the object 'customers", database 'BankDB', schema 'dbo'.

כעת, אנו מנהלי בסיסי הנתונים נוכל לחזק ולהדק את האבטחה סביב הטבלאות, וניתן הרשאות מדויקות לכל משתמש !

בהצלחה !!

יום חמישי, 4 בדצמבר 2008

sql server 2008

חברת המחקר פורסטר:
"הגרסה החדשה מציעה את השילוב החזק ביותר בשוק של עלות/ביצועים, יכולות ניהול, אבטחה ותפוקות של ה- DBA"
http://www.bubbletech.co.il/bt/NEWS.jhtml?value=3651

יום ראשון, 16 בנובמבר 2008

Multiple Inserts

כידוע ישנם מספר חידושים ושיפורים בפלטפורמת sql server 2008 . החידושים הינם ברמת ה- agent , t-sql , management studio ועוד.. , בטיפים הקרובים אני אסקור מספר חידושים שימושיות ומעניינים.

והפעם – Multiple Inserts.
בעזרת ה- Multiple Inserts ניתן לייעל את פקודת ה- Insert לטבלה.

לדוגמא במקום לכתוב כך (כמו שכתבנו בגרסאות קודמות) :
INSERT INTO MultipleInsertsCities VALUES (1, N'Eskisehir')
INSERT INTO MultipleInsertsCities VALUES (2, N'Istanbul')
ניתן לכתוב מעכשיו כך:
INSERT INTO MultipleInsertsCities
VALUES (1, N'Eskisehir'), (2, N'Istanbul')
או:
INSERT INTO MultipleInsertsCities (CityId, CityName)
VALUES (3, N'New York'), (4, N'Tokyo')

דוגמא נוספת:
לפני:
INSERT INTO MultipleInsertsCities (CityName) VALUES (N'Bangkok')
INSERT INTO MultipleInsertsCities (CityName) VALUES (N'Lima')
אחרי:
INSERT INTO MultipleInsertsCities (CityName) VALUES (N'Bangkok'), (N'Lima')


שימו לב שמהיום ניתן לשפר את העבודה ולבצע Insert לשני רשומות במקביל, מבלי לכתוב את משפט ה- insert פעמיים.


בהצלחה !!

יום ראשון, 9 בנובמבר 2008

Report Builder 2.0

שלום רב,

לידיעתכם מייקרוסופט שיחררה להורדה את Microsoft SQL Server 2008 Reporting Services Report Builder 2.0:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9f783224-9871-4eea-b1d5-f3140a253db6&displaylang=en


Brief Description:
Report Builder 2.0
Microsoft SQL Server 2008 Report Builder 2.0 provides an intuitive report authoring environment for business and power users.
It supports the full capabilities of SQL Server 2008 Reporting Services. The download provides a stand-alone installer for Report Builder 2.0.

Overview:
Microsoft SQL Server 2008 Reporting Services Report Builder 2.0 delivers an intuitive, Office-like report authoring environment enabling business and power users to leverage their experience with Microsoft Office 2007 products. Microsoft SQL Server 2008 Reporting Services Report Builder 2.0 supports the full capabilities of SQL Server 2008 Reporting Services including:
· Flexible report layout caabilities of SQL Server 2008 Report Definition Language
· Data Visualizations including charts and gauges
· Richly formatted textboxes
· Export to Microsoft Office Word format

Features specific to Report Builder 2.0 are focused on simplifying the process of creating and editing reports and queries and include the following:

· Easy to use wizards for creating table, matrix and chart data regions
· Support for directly opening and editing reports stored on the report server
· Support for using server resources such as shared data sources
· Query designers for multiple data sources including a Microsoft SQL Server-specific query designer