- Select the current column [Ctrl] + [Space]
- Select the current row [Shift] + [Space]
- Edit the active cell [F2]
- Move to the beginning of the worksheet [Ctrl] + [Home]
- Move to the last cell on the worksheet [Ctrl] + [End]
- Paste a name into a formula [F3]
- Paste a function into a formula [Shift] + [F3]
- Alternate value/formula view [Ctrl] + [`] (on key [1])
- Calculate all sheets in all open workbooks [F9]
- To go to a cell quickly [F5] or [Ctrl] + [G]
- Display the Find dialog box [Shift] + [F5]
- Display the Format Cells dialog box [Ctrl] + [1]
- Create a chart [F11]
- Insert a new sheet [Alt] + [Shift] + [F1]
- Repeat the last action [F4]
- Repeat Find [Shift] + [F4]
- Open [Ctrl] + [F12]
- Exit [Ctrl] + [F4]
- Check spelling of current cell [F7]
- Activate the menu bar [F10]
- Display the Macro dialog box [Alt] + [F8]
- Apply outline to active cell [Ctrl] + [Shift] + [&]
- Convert to a percentage [Ctrl] + [Shift] + [%]
- Select all filled cells around active cell [Ctrl] + [Shift] + [*]
- Move to next sheet [Ctrl] + [Page Down]
- Move to previous sheet [Ctrl] + [Page Up]
- Complete a cell entry and move up [Shift] + [Enter]
- Complete a cell entry and move right [Tab]
- Complete a cell entry and move left [Shift] + [Tab]
- Edit a cell comment [Shift] + [F2]
- Print [Ctrl] + [P]
- Insert current date [Ctrl]
- Insert current date and time [Ctrl] + [Shift]
Do's: Writing comments whenever something is not very obvious, as it won’t impact the performance. (--) for single line (/*…*/) to mark a section Use proper indentation Use Upper Case for all SQL keywords. SELECT, UPDATE, INSERT, WHERE, INNER JOIN, AND, OR, LIKE. Use BEGIN... END block for multiple statements in conditional code Use Declare and Set in beginning of Stored procedure Create objects in same database where its relevant table exists otherwise it will reduce network performance. Use PRIMARY key in WHERE condition of UPDATE or DELETE statements as this will avoid error possibilities. If User table references Employee table than the column name used in reference should be UserID where User is table name and ID primary column of User table and UserID is reference column of Employee table. Use select column name instead of select * Use CTE (Common Table Expression); its scope is limited to the next statement in SQL query, instead of...
Comments
Post a Comment