Who is online?  0 guests and 0 members
Home  »  Blogs  »  indupriya

Communifire Blogs

Blogs RSS Feed

indupriya : Most Recent postings

indupriya

Suppress the blank page at the end of the crystal report

2/4/2013 by indupriya  -  Comments: 0  -  Views: [929]

I thought I will start updating my blog after a bit hibernation. So here is a tip for getting rid of the blank page that appears if you use a Next Page After setting in the group section as shown below. Use the formula Not Onlastrecord To do this click on the formula section against the Next PAge After setting and type in Not Onlastrecord Save the report and the last blank page will disappear.

Read More

indupriya

Sql Server Error 3154

7/13/2012 by indupriya  -  Comments: 0  -  Views: [4112]

I created a new database today and was wanting to restore this new database from another exisitng database using the restore option available in the wizard. But I got the 3154 error as below. So I had to restore to the restore database command in the SSMS. So here is the first option I tried restore database databasename from disk 'filepath.bak' with replace but this gave an error because the database and log files were in use for the exisitng database and had to use the with move command as fol...

Read More

indupriya

Workbook is larger than the maximum workbook size

5/14/2012 by indupriya  -  Comments: 2  -  Views: [4406]

I use sharepoint 2010 to display the data analysis tool I have created in excel 2010 to manage the Microsoft licenses as well as to utilise the excel 2010 capabilities of slicers and dicers. This has been going pretty smoothly until yesterday when I stumbled with this error below. "Workbook is larger than the maximum workbook size" So I had to go through the Excel web services properties on the sharepoint server and increase the maximum file size. Here are the steps that I followed. Logged into ...

Read More

indupriya

Scroll Lock problems in Excel

3/6/2012 by indupriya  -  Comments: 0  -  Views: [863]

Yesterday I had this problem in moving between the cells within excel. This problem usually occurs if the scroll lock is on. I tried to find the scroll lock button on my keyboard but it was not there. So I got the idea of using the On screen keyboard function to diable the scroll lock. So I clicked on Start button -- All Programs -- Accessories -- Ease of Access --On Screen keyboard. The following screen appears and I click on the scroll lock as shown below. This same functionality can be used w...

Read More

indupriya

Remove the compatibility mode from excel files

3/2/2012 by indupriya  -  Comments: 0  -  Views: [2005]

As you all know Excel 2007 has lot more features compared to Excel 2003. The extension with which the excel files are saved alos differs based on the version of excel. For excel 2003 the file is saved as .xls and for Excel 2007 the file is saved as .xlsx The other day I realised that when I opened a file in Excel 2007 all the features of Excel 2007 are not available for use. So when I tried to investigate what was happening I found that the file was saved as .xls. So I saved the file as excel 20...

Read More

indupriya

Resolving #NUM error in excel

2/22/2012 by indupriya  -  Comments: 3  -  Views: [4779]

I was using excel to display data from a cube. I tried to do a caluclated cell in excel to display number of months between two dates. Here is the formula I used to do this. =Datedif(H1,G5,"m") But I received an error -- #NUM Then I again looked at the dates entered. To make sure that the datedif function works you need to give the earlier date as the first parameter and the later date as the second parameter to avoid the #NUM error. You also need to ensure that the dates are in the correct form...

Read More

indupriya

24 Hours PASS -- open for registration free online sql server training

2/16/2012 by indupriya  -  Comments: 0  -  Views: [880]

This morning I recieved the email of 24 hrs of PASS registration. Below are the details. Nonstop SQL Server Training Don't miss the best 24 hours of free, online SQL Server training in the industry with 24 Hours of PASS: SQL Server 2012 March 21, featuring closed captioning in 15 languages. Join us for an exceptional lineup of the world's top SQL Server and BI experts, who will be presenting 24 back-to-back technical webcasts with a special focus on SQL Server 2012. Go ahead and register and ben...

Read More

indupriya

Have you heard of Prezi?

1/22/2012 by indupriya  -  Comments: 0  -  Views: [781]

Late last year one of my colleagues Mark Crosby has introduced the Prezi tool in our company to do presentations. Prezi is a presentation software that can be used in creating more visual presentations. It is different to the traditional powerpoint software as it has a Zooming user interface and uses a vector based illustration and text which creates big visual impact. The main differences between Prezi and Powerpoint that I have found are as follows: The first difference I found is that Prezi i...

Read More

indupriya

Automatically download pictures in Outlook 2007

12/18/2011 by indupriya  -  Comments: 0  -  Views: [1284]

Today I was asked by my colleague as to how to change outlook 2007 so that she does not manually need to download the pictures every time an email comes in. Here is what I have suggested to her. Go to the menu item Tools in Outlook and then click on Trust Center Then choose Advanced settings Untick the "Don't Download pictures automatically' option as shown below

Read More

indupriya

Space function in SQL

12/13/2011 by indupriya  -  Comments: 1  -  Views: [2200]

Today I had a unique scenario where I had to introduce 2 spaces in between two fields. I came across the space function which I used in my scenario. The syntax is space(integer_expression) The integer expression is an integer. IF a negative value is supplied a null is returned. So for example look at the following syntax: select First_name, + space(4) + Last_Name from test_table The above select statement will generate 4 spaces in between the first name and last name The space function will gene...

Read More

indupriya

Multiply and Divide a group of cells in Excel

12/4/2011 by indupriya  -  Comments: 2  -  Views: [3542]

I just now realised that it has been more than a month since I have posted anything on my blog. So here I am with the most recent tip I learnt in Excel. If you have a column of cells that need to be divided by 1000 for example. Here are the steps that you need to follow. Type 1000 in a cell lets say A2 Copy the cell A2 using Ctrl+C Select the cells in the column where you would like to let us say multiply the values by 1000. Right click and select Paste Special Click on Multiply as shown below. ...

Read More

indupriya

Increasing the number of recent files in SSMS

10/11/2011 by indupriya  -  Comments: 0  -  Views: [1480]

In Sql Server Management Studio, I usually access my sql query files that I save -- using the File -- Recent Files option. The default setting of the number of recent files to be displayed in SSMS. Today I wanted to access a file that I had used last week and I could not find that file in the recent list. So I thought of displaying more than the normal 4 files that are displayed in the Recent Files option. So I set out to find where the settings are (as in the microsoft office programs) -- I cli...

Read More

indupriya

Export directory list in excel

10/6/2011 by indupriya  -  Comments: 0  -  Views: [7214]

Yesterday I wanted to export the contents of a folder into excel to provide it to the users for input. Here are the steps I followed. Go to Start -- Run -- CMD Change to the drive letter of the drive in which the folder you want the contents listed is if you are not already there by typing the drive letter followed by a colon. Eg: d: for going to the d drive. Change to the folder of which you want the contents to be exported by using the chane directory command cd. Eg: cd shared/test for changin...

Read More

indupriya

Save SQL Query results into another SQL database

9/13/2011 by indupriya  -  Comments: 3  -  Views: [2130]

Today I had a requirement to save the results of an SQL query into a sql table. Usually it is easy to export to excel by using the option of copying the results and pasting them to an excel file. But this time I had over a million rows and I didnot want to use excel to store that huge amount of data. So I followed the following 2 simple steps. 1. Create a new table in a new database: Use the SSMS to create the database and use the create table query to create the new table as follows: create tab...

Read More

indupriya

Add months to a date cell in Excel

9/7/2011 by indupriya  -  Comments: 2  -  Views: [7381]

Yesterday I had this requirement to add number of months (m) to a cell that contains start date to estimate the end date. In 2003 I had to use a complex formula like below where A1 is the cell that contians the start date. =DATE(YEAR(A1),MONTH(A1)+m,DAY(A1)) Well in Excel 2007 it is even more easy to add months with the Edate function like below. =Edate(A1, m).

Read More

indupriya

Using the Script task in Management Studio

8/29/2011 by indupriya  -  Comments: 0  -  Views: [1554]

Today I was taking a back of a database and for the past two days this has become my regular activity. So I thought there should be some kind of recording option (like recording a macro in excel) so that I can just use the recorded action whenever I need to do the same task again and again. So I tried to investigate and found this script button. So I thought I would investigate this. The following are the steps I followed to backup a database in the Management Studio. Right click the database th...

Read More

indupriya

Windows Firewall settings on Windows 7

8/23/2011 by indupriya  -  Comments: 0  -  Views: [1892]

Today I had to access the Windows Firewall to check for blocking of a port. I am used to the command wscui.cpl from the Start -- Run screen of the Windows XP operating system. So I did the same thing on my Windows 7 screen. I was surprised to get the security centre where the Windows Firewall was not visible as shown below. Luckily I saw the Control Panel Home link at the top and clicked on the link. Then I noticed the Windows Firewall as being a separate entity in the control Paenl and accessed...

Read More

indupriya

24HOP September 7-8

8/4/2011 by indupriya  -  Comments: 1  -  Views: [920]

The registration for the much awaited 24 hours of PASS is now open. Here is an excerpt from the site. Two Days of Free SQL Server Training! Don't miss the best 24 hours of free, online SQL Server training in the industry with 24 Hours of PASS: Summit Preview September 7 and 8. Join us for an exceptional lineup of SQL Server and BI experts , who will be presenting a sneak peek of their PASS Summit 2011 session topics in 24 live webcasts delivered directly to your computer. Register here to attend...

Read More

indupriya

Powershell for SQL Server : An Introduction -- Free webinar

8/3/2011 by indupriya  -  Comments: 0  -  Views: [1234]

A free webinar is being organised by Idera on Powershell for SQL Server. Here is an excerpt from the site. In this session, Microsoft MVP Aaron Nelson will discuss what PowerShell is and demonstrate how and why DBAs should use it. Aaron will step you through the basics of Windows PowerShell and provide you with some commonly used first scripts to help you get started. Register for the webcast today! The date and time of this webinar is below: Wednesday, August 10, 2011 2:00 PM - 3:00 PM CST

Read More

indupriya

What is the password policy for sql server?

8/2/2011 by indupriya  -  Comments: 0  -  Views: [2591]

Yesterday I had a question in my mind as to what could be the sql server password policy. So I started hunting in the Help menu of the SSMS window. Here is how I found that. Click on Help from Sql Server Management Studio. Choose contents Then choose Security considerations for SQL Server Then choose the Password Policy as shown in the screenshot below.

Read More

indupriya

Using Countif function in excel

7/26/2011 by indupriya  -  Comments: 1  -  Views: [1408]

I was using excel today and I wanted to count all the cells in a range only when there is a value greater than 2. So I started hunting for a funciton in excel and found the countif function. Countif(range,criteria) But when I started using it like this -- Countif(A1:A100,>2) it didn't work. It was coming up with an error. So I tried Countif(A1:A100, ">2"). This worked. So if we include the criteria in quotes then the formula worked. I also noticed a sumif function that also works in a simi...

Read More

indupriya

Best Practices for SharePoint 2010 Upgrade and Configuration -- Webinar

7/21/2011 by indupriya  -  Comments: 0  -  Views: [1519]

Shared Squared is running a webinar on 26th July 2011. The topic is -- " Best Practices for SharePoint 2010 Upgrade and Configuration" Here is an excerpt from the site The webinar will include various demonstrations and discuss: Who should upgrade, why & when How to assess existing SharePoint deployments and identify upgrade risks and opportunities Specific tasks that need to be done to prepare for SharePoint 2010 How to identify and upgrade existing 2007 customizations Best Practices for su...

Read More

indupriya

Adventure Works for SQL Server Denali CTP3

7/19/2011 by indupriya  -  Comments: 0  -  Views: [1880]

I came across this link on Codeplex this morning which will be helpful for learing Denali Here is an excerpt from the site This release is dedicated to the Adventure Works sample databases and related samples that ship for Microsoft SQL Server code-named "Denali", Community Technical Preview 3 (CTP3) . This release uses the AdventureWorks2008R2 and AdventureWorksDWDenali sample databases. They have been upgraded to the "Denali" CTP3 version. The only change to AdventureWorks2008R2 is the removal...

Read More

indupriya

Powerpoint Presentation tips that I didn't know

7/14/2011 by indupriya  -  Comments: 3  -  Views: [1641]

Today I was sitting in a demo presentation and learned a few tips that my colleague Mark Crosby shared. Did you know that in the slide show mode of the powerpoint presentation if you want to jump to a particular slide, you can just put in the slide number and enter and you can go straight into that slide without coming out of the presentation mode. He also added that if you have the slides printed and numbered it will be easy for you to go to the respective slide if you know the number of the sl...

Read More

indupriya

Free TSQL webcasts from SSWUG

7/13/2011 by indupriya  -  Comments: 0  -  Views: [1210]

Free TSQL Webcasts Start Next Week In SSWUG.ORG’s “Writing T-SQL Queries and Code” webcast series, you will be able to learn how to write aggregate and crosstab queries, as well as how to use common table expressions to write recursive queries. In three, in-depth sessions, Kathi Kellenberger, SQL Server Technology Specialist for Microsoft and author of Beginning T-SQL 2008, will teach beginning and experienced T-SQL programmers about writing code to ensure their applications are highly performin...

Read More