Archive for the ‘Quick Tips’ Category
Recover Backed-up query files in SQL Server Management Studio
Hi guys, I just want to share quickly very handy tip regarding your SQL query sessions. When you open SQL queries in SSMS, you generally go on and work in newly opened pane/window but sometimes dont save that work. SSMS by default saves them in the event of pre-mature closure or crash of SSMS or [...]
May 7, 2013
·
Khilitchandra Prajapati ·
No Comments
Tags: SQL Server, Tips, Tutorial · Posted in: Business Intelligence, General, Quick Tips, SQL Server 2012, Tutorial
Retrieving id of inserted record: What to use @@IDENTITY or SCOPE_IDENTITY() or OUTPUT
Hi guys, This seems very basic information but need to know properly. Issue: I need to find out or have the id of the records which I inserted in table. Analysis: This requirement seems very simple but there could be various cases where you would not get the correct id just by using @@IDENTITY function. Think [...]
February 6, 2013
·
Khilitchandra Prajapati ·
No Comments
Tags: Business Intelligence, General, IDENTITY, Interview Tips, OUTPUT, SCOPE_IDENTITY(), SQL Server · Posted in: Business Intelligence, Free, General, Interview QA, Quick Fix, Quick Tips, Script, SQL Server, SQL Server 2012, SQLServerPedia, T-SQL, Training, Tutorial
The Story of Precision, Scale, and Length in SQL Server
Hi guys, Did you ever faced issues with BIG mathematical figures – related to either overflow or any other arithmetic errors. This may be applicable to SQL arithmetic operations or arithmetic operations you do with SQL table in SSIS etc. Well, check 1 more time, if you have any issues in your database design related [...]
January 28, 2013
·
Khilitchandra Prajapati ·
No Comments
Tags: Arithmetic Overflow, Business Intelligence, Error, General, SQL Server, SSIS · Posted in: Business Intelligence, Free, General, Interview QA, Quick Fix, Quick Tips, Script, SQL Server, SQL Server 2012, SQLServerPedia, SSAS, SSIS, SSRS, T-SQL, Tutorial
Tracking Down Ghost Characters: WHERE Clause Does Not Work Properly In T-SQL Query
Hi guys, I would like to share an experience with you when I was working on 1 SSIS related issue. Scenario was: I have to exclude some records from Table A by matching some keys of Table B. Â Table A Year Month CustomerCode <Extra Columns> 2012 JAN CX1000 Â 2012 JAN CX2000 Â 2012 JAN [...]
January 25, 2013
·
Khilitchandra Prajapati ·
No Comments
Tags: Business Intelligence, Carriage Return, Query, Sanity Check, Special Characters, SQL Server, SQL Table Value with Carriage Return, SSIS, T-SQL, Where Clause · Posted in: Business Intelligence, Free, General, Interview QA, Quick Fix, Quick Tips, Script, SQL Server, SQL Server 2012, SSIS, T-SQL, Tutorial
E-Book Gallery for Microsoft Technologies
Hi guys, good morning !!! here is the list of cool FREE E-Books from Microsoft Press.
September 7, 2012
·
Khilitchandra Prajapati ·
No Comments
Tags: ASP.Net, Career, E-Book, Free, Microsoft, Microsoft Press, Office, SharePoint, SQL Server, Visual Studio, Windows, Windows Azure, Windows Phone, Windows Server · Posted in: Business Intelligence, E-Book, Free, General, Interview QA, New Features, Quick Tips, SharePoint, SQL Azure, SQL Server, SQL Server 2012, SSIS, SSRS, Training, Tutorial, Windows
SSRS Chart – Displaying % sign on Y axis + Displaying % sign on Data Labels
Hi guys, Today i would like to show you the little trick for your SSRS graphs. Issue: I am displaying values (percentage values) in my bar charts as “Data Labels”. But the “Y” axis of my bar char still displays value without the “%” sign. What I need: The bar chart should display the “%” [...]
August 4, 2012
·
Khilitchandra Prajapati ·
6 Comments
Tags: Business Intelligence, Charts, Data Label, SQL Server, SSRS, Tricks · Posted in: Business Intelligence, Quick Fix, Quick Tips, SQL Server, SQL Server 2012, SSRS, Suggestion, Tutorial
View is not showing newly added column in table
Hi all, This is for the people who still use “Select * From Table” in their SQL Views. I don’t know what is the reason that you are using this way to create your views, but you could be the victim of this scenario (see… what title says). Let me show you how you can [...]
June 27, 2012
·
Khilitchandra Prajapati ·
One Comment
Tags: INFORMATION_SCHEMA, INFORMATION_SCHEMA.COLUMNS, SQL Server, Stored Procedure, Tip, View · Posted in: General, Interview QA, Quick Fix, Quick Tips, Script, SQL Server, SQL Server 2012, T-SQL, Tutorial
SSRS Report is asking for Username and Password while executing
Hi all, I want to bring to your focus a very minor detail which could eat-up your time when it happens. This is the case when your SSRS report is deployed on ReportServer and you are accessing thru any application or interface e.g. SharePoint. Your SSRS report is using Integrated Security and hence no need [...]
June 21, 2012
·
Khilitchandra Prajapati ·
No Comments
Tags: Asking for Username and Password, Execution, Fix, Report, SQL Server, SQL Server Reporting Services, SSRS, Tip · Posted in: Business Intelligence, Quick Fix, Quick Tips, SQL Server, SSRS, Suggestion, Tutorial
Filtering Feature in SQL Server Management Studio
Hi All, How are you doing? I want to draw our attention to pretty handy-dandy (Yet not complete enough) feature in SQL Server Management Studio. That is “Filtering”. Advantage: You can filter the objects (like Tables, Views, Stored Procs etc.) based on certain criteria. You can filter them by “Name, Schema, Owner or Creation Date”. [...]
June 11, 2012
·
Khilitchandra Prajapati ·
No Comments
Tags: Business Intelligence, Database, Filtering Feature, Microsoft Tools, SQL Server, SQL Server Management Studio · Posted in: Business Intelligence, General, Interview QA, Quick Tips, SQL Server
Check if file exists: using SSIS
Hi All, Many times, we have to do this simple checking “if file exists/available .. then proceed” in SSIS operations. And Microsoft did not put any facilities to achieve this task in SSIS with default components. People also have raised this concern to Microsoft, but Microsoft explains that they have more priority works to deal [...]
May 10, 2012
·
Khilitchandra Prajapati ·
9 Comments
Tags: Business Intelligence, Check if file exists, Quick Tips, Script Task, SQL Server, SSIS · Posted in: Business Intelligence, Interview QA, Quick Tips, SQL Server, SSIS, Tutorial
