Archive for January, 2012

January 25th, 2012  Posted at   Education Web Design
, ,    |   Comments Off

Write Report For SQL Independently

There’s a problem that while many proprietary database systems come with a report writer but  this report is too difficult to use. We need a knowledge of SQL or we need an expensive expert to prepare the report. Sometimes there is no report writer available at all. In this articale we propose you solution for this problem.

 

I have a client who had just this problem – he had a hospital departmental system that had been supplied to several hundreds centres but the report writer available came from a large business intelligence vendor and it was just too difficult and tedious for a busy departmental manager.

 

What is needed is a software package that lets you access your database e.g. SQL Server, Oracle, MySQL, to get the answers you need today. All you need to know to get started is to know the Database name, Server address, User Name and Password.

 

Getting internal IT help can be difficult too so you want to disturb as them little as possible.

You can’t do any harm to the database as you will be reading the data only and not changing it, so you won’t be causing any data validation issues.

 

Once you have access to the your database the software will let you see the tables and columns and all you need to do is to join up the tables you need to produce the reports you need by linking on the common columns so you get unique rows of data. So far there has been no fancy SQL syntax. There some know how you need on join types but that can be dealt with later.

 

Now you can see all your data items and can start to build your report by just dragging and dropping the data items you need.

You can readily create filters to allow you to find the subsets of data you need. No fancy SQL WHERE clause are needed.

 

The system I use can also produce highly visual representations of the data in graphs and charts not just data columns with totals- data visualization is the buzz word. You’ll stun your colleagues. You will be able to spot trends and outliers in a snap.

 

You can even construct dashboards that can be distributed around your department or company.

For more information see No SQL Tutorial.

January 24th, 2012  Posted at   Education Web Design
   |   Comments Off

SQL 2008 SA Password Reset

How to reset sa password in SQL Server 2008 when forgot the sa password?

Many time, This problem comes, they have setup SQL 2008 or SQL 2008 R2 for development or QA environment, but they don’t know the login sa password by which they can connect to server. In SQL Server 2005, SQL used to fixed group sysadmin with the server role BUILTIN\Administrators, that is to say, all local NT administrator automatically add a SQL Server system administrator. But since 2008 Windows BUILTIN\Administrators group is not included by default in the sysadmin server role in SQL Server.

So, follow the steps mentioned to reset SQL 2008 password for SA account if no BUILTIN\Administrators.

Step 1.

Download and install MS SQL Server Password Unlocker.
Step 2. Run MS SQL Server Password Unlocker, click Open, import the master.mdf file. All the user names of your SQL Server will be displayed.
Step 3. Select an SQL account, such as ‘SA’, click Change Password button.
Step 4. Type a new password, and then click OK.

The new password has been set for your SA account, now you can login SQL Server with the new password.

Currently SQL Server 2008 still supports two types validation and authentication for access link to resources database, Windows authentication mode and SQL Server and Windows authentication mode which also known as mixed mode. Both of these authentication methods provide access to SQL Server 2008 and its resources.

The Mixed Mode – SQL Server and Windows Authentication Mode

SQL Server and Windows Authentication Mode uses either Active Directory user accounts or SQL Server accounts when validating access to SQL Server.

SQL Server 2005 introduces a new way, the policy of the password and account lockout the policy session of SQL Server by using SQL Server implement authentication. SQL Server 2008 also to do so. The policy of SQL Server that can be used include password complexity, password expiration and account lockout. This feature is not available in SQL Server 2000 and becomes a major security risk for most organizations and database administrators. In essence, this weakness has contributed to the Windows authentication set as best practice for the management of authentication in the past. Today, SQL Server and Windows authentication mode may be able to successfully compete with the Windows Authentication Mode.

How to reset sa password in SQL Server 2008 when forgot the sa password? The article gives out an easy way for SQL 2008 Password reset.