Hi All,
Following SQL query will list available roles in database and the default schema they are assigned to.
You can also check when it’s last modified.
–Query Start
Use <Your Database Name>
Go
Hi All,
Following SQL query will list available roles in database and the default schema they are assigned to.
You can also check when it’s last modified.
–Query Start
Use <Your Database Name>
Go
Hi All,
How are you doing?
We all know that Change is a rule of life …. And pretty much that applied to SQL Server as well π
Yes, my point is to find out the changes we have done in current SQL Server so we can deliver into the next environment i.e. UAT/Test or Production etc. People follow lots of ways to find/generate change scripts for SQL objects for their creation and modifications.
But I would like to draw your attention to a facility/functionality which is provided by MS SQL Server Management Studio by default. But by default this is disabled and thanks to GOD for that.
Hi All,
You can quickly create SQL scripts for SQL Server or Analysis Server using Template Browser. It does not cover all detailed scenarios, But it does cover all basic scenarios + you don’t have to worry about the script structure or any deprecated syntaxes etc.
Hi All,
Most of us; who are working on SQL BI solutions are aware of connecting SSAS Cube using Excel (as client) for browsing. Because we know that how much the clients/financial users likes to work with Excel π
In SQL 2012 RC0, there is one handy-dandy quick-link which enables us to make this whole functionality ready-made in few seconds. Believe it or not, try the following:
So far these are the intial setup steps for the trick I wanted to show you.
Hi All,
I would start this topic with a small real incident happened with me. I worked on SQL 2008 for almost 2.5 years and then I mixed my work with SQL 2008 R2. Once we had some work in SQL 2005 – SSIS package. It was a minor modification by playing with few date columns. I tried to use DATE datatype unknowingly and ssis package was giving me error. I did not concentrate on the DATE datatype which I have used and rather I was searching here and there. And finally I recalled that DATE datatype is not available in SQL 2005.
My point with this example is, we should be aware of the SQL environment while working and at the same time its supported/non-supported features. Believe me, sometime this could be the issue and NOT your development or analytical skills.
Ok, letβs get to the point. Microsoft has published a list of database engine features which are going to be changed in SQL Server 2012. Brose following links to find-out in detail.
Hi folks,
I would like to share a joy with you all that one of my articles got selected as “Article of Week” in BIDN.
BIDN is “BI Developer Network Community“. Visit http://bidn.com for awesome BI articles and tutorials, If you are hungry to learn things from tech experts like Brian Knight, Dustin Ryan, Mike Davis, Devin Knight and many more…
Hi all,
I want to share knowledge with you regarding NOLOCK and With (NOLOCK) hint in SQL queries we use in our day-to-day work/activities.
According to MSDN,
“In SQL Server 2005, with some exceptions, table hints are supported in the FROM clause only when the hints are specified with the WITH keyword. Table hints also must be specified with parentheses.
The following table hints are allowed with and without the WITH keyword: NOLOCK, READUNCOMMITTED, UPDLOCK, REPEATABLEREAD, SERIALIZABLE, READCOMMITTED, FASTFIRSTROW, TABLOCK, TABLOCKX, PAGLOCK, ROWLOCK, NOWAIT, READPAST, XLOCK, and NOEXPAND. When these table hints are specified without the WITH keyword, the hints should be specified alone.”
Hi All,
sometimes opening ReportServer or Reports (Report Manager) takes a while. On the other hand querying database for information is faster than waiting for websites to respond.
Here is the quick way to check the number of SSRS reports deployed on report server, their locations (paths) and available data sources.
Use <Report Server Name>
Go
Hi guys,
this was my old work when i was working on SSIS 2005 packages.
But this could be good reference for the people who want to do things programmatically in SSIS.