Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

My blog on SQL Server, TSQL, MSBI and other areas of SQL Server.
Browse by Tags · View All
Cube in Sql Server.. 2
RollUp 2
Groupby 2
Use of NULLIF 2
Procedures 2
Search Objects (Table Name 2
Happy diwali 1
SP_Rename 1
Bulk Insert 1
Completed 4 Years in IT Profession......................................... 1

Archive · View All
May 2012 10
June 2012 7
October 2012 3
July 2012 2
November 2012 1
September 2012 1

SYNONYM small Concept but provide Best Security..

May 8 2012 12:00AM by Nirav Gandhi   

CREATE TABLE SYNONYM_Temp

(
id INT IDENTITY(1, 1),
varName VARCHAR(50)
)

CREATE SYNONYM Bank FOR SYNONYM_Temp

--Step :1

INSERT INTO Bank(varName)VALUES ('ICIC')

INSERT INTO Bank(varName)VALUES ('HSBC')

INSERT INTO Bank(varName)VALUES ('HDFC')

INSERT INTO Bank(varName)VALUES ('CITY')

SELECT *  FROM Bank-->SYNONYM
SELECT *  FROM SYNONYM_Temp-->Origional Table

--Step :2

DELETE FROM Bank WHERE ID= 4

SELECT * FROM Bank

---Step :3

UPDATE Bank SET varName= 'CITY' WHERE ID= 3

SELECT * FROM Bank

---Step :4, you can not change the Structure of Table

ALTER TABLE bank ADD Col3 VARCHAR(50)
 
DROP SYNONYM Bank
 
Note: using SYNONYM Client never know what is origional table Name.

Tags: 


Nirav Gandhi
38 · 5% · 1503
2
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"SYNONYM small Concept but provide Best Security.." rated 5 out of 5 by 2 readers
SYNONYM small Concept but provide Best Security.. , 5.0 out of 5 based on 2 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]