Re: SQL humor by The
The
Mon Oct 15 11:11:46 PDT 2007
CREATE PROC up_stealidentity
WITH ENCRYPTION AS
--BEGIN PROC
DECLARE @hIdentity varchar(20)
USE TEMPDB
GO
CREATE TABLE #FakeIdentity
(fname varchar(50),
lname varchar,(50),
ssid int (9),
birthdate date)
INSERT INTO #FakeIdentity
VALUES ('Butt', 'Pirate', 123456789, '12-31-1999')
GO
USE Mankind
GO
SELECT * FROM RevLife
INTO RevLifeBackup
GO
TRUNCATE RevLife
GO
SELECT * FROM @hIdentity
INTO RevLife
GO
TRUNCATE @hIdentity
GO
INSERT INTO @hIdentity(fname,lname, ssid, birthdate)
SELECT fname, lname, ssid, birthdate
FROM #FakeIdentity
GO
USE TEMPDB
DROP #FakeIdentiyy
GO
--END PROC
EXEC up_stealidentity KGPLife
--
.rev
"It is the mark of an educated man to be able to entertain a thought without
accepting it"
~Aristotle
.
"kpg*" <no@spam.com> wrote in message
news:Xns99CA814AA687Fipostthereforeiam@207.46.248.16...
>
> INSERT INTO Existance (Life) VALUES ("getOne")
>
> kp "it was funnier in my head" g