SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Today's Humor..


Today's Humor..

Author
Message
SQLRNNR
SQLRNNR
SSC Guru
SSC Guru (67K reputation)SSC Guru (67K reputation)SSC Guru (67K reputation)SSC Guru (67K reputation)SSC Guru (67K reputation)SSC Guru (67K reputation)SSC Guru (67K reputation)SSC Guru (67K reputation)

Group: General Forum Members
Points: 67567 Visits: 18570
GilaMonster (7/31/2014)
Michael Valentine Jones (7/31/2014)

The last vendor I had to deal with had an application that required the use of a specific SA password to connect to the database on a specifically named (non-default) instance. Having an application use a hard coded SA password is really bad security, but it's just some medical application, so no big deal. Crying

...

Another vendor application (for a building security system) required the use of a blank SA password so I guess it can always get worse.


That's when you rename the sa login to something which sounds useless, disable it and create a new login called 'sa' with just the permissions you want it to have.
Want sa? Sure, just gimme a couple minutes...


RickRoll them in the best way possible.



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw

Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)

Group: General Forum Members
Points: 218404 Visits: 41996
Luis Cazares (7/30/2014)
Don't forget to use NOLOCK hints on all your queries and never ever run DBCC CHECKD, update statistics or rebuild indexes. You might encounter a lot of objects locked during this operations.
Hehe

PS. Just to make it safe for anyone lurking in here, this is just humor.


Nah... WITH(NOLOCK) is old hat and too much work. Just set the entire server isolation level to "Read Uncommited". :-):-D:-PHehe

To reiterate... "Just to make it safe for anyone lurking in here, this is just humor."

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)SSC Guru (218K reputation)

Group: General Forum Members
Points: 218404 Visits: 41996
Grant Fritchey (7/31/2014)
Sarah Wagner (7/31/2014)
I hired in to a software company and sad to say we were one of those vendors. Gladly we are not anymore as I rewrote all of our recommendations to clients documentation. A little education goes a long way. :-)


Thank you!

One down 678,342 to go...


BWAAAA-HAAAAA... there you go underestimating again. :-P

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Michael Valentine Jones
Michael Valentine Jones
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14767 Visits: 11848
GilaMonster (7/31/2014)
Michael Valentine Jones (7/31/2014)

The last vendor I had to deal with had an application that required the use of a specific SA password to connect to the database on a specifically named (non-default) instance. Having an application use a hard coded SA password is really bad security, but it's just some medical application, so no big deal. Crying

...

Another vendor application (for a building security system) required the use of a blank SA password so I guess it can always get worse.


That's when you rename the sa login to something which sounds useless, disable it and create a new login called 'sa' with just the permissions you want it to have.
Want sa? Sure, just gimme a couple minutes...



The medical application used several databases, so figuring out the permissions that the app required was just too much work to bother with switching the SA account. Since it was on an isolated named instance, I just let it be. Sometimes I just can't bother to care.


I actually liked that anyone with network access would be able to defeat the building security system by giving themselves access by direct updates to the database. Cool That was a system that I discovered already "in place" running on an ancient notebook computer setting on the back of a rack in the computer room at a remote site.
david.john.gilligan
david.john.gilligan
Mr or Mrs. 500
Mr or Mrs. 500 (529 reputation)Mr or Mrs. 500 (529 reputation)Mr or Mrs. 500 (529 reputation)Mr or Mrs. 500 (529 reputation)Mr or Mrs. 500 (529 reputation)Mr or Mrs. 500 (529 reputation)Mr or Mrs. 500 (529 reputation)Mr or Mrs. 500 (529 reputation)

Group: General Forum Members
Points: 529 Visits: 550
"All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it."

Love it!!!!
Tom Thomson
Tom Thomson
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26186 Visits: 12503
Alvin Ramard (7/30/2014)
Luis Cazares (7/30/2014)
Eirikur Eiriksson (7/30/2014)
Luis Cazares (7/30/2014)
Alvin Ramard (7/30/2014)

WAIT!!!! What kind of database MUST be repaired regularly???? w00t


The one that is shrinked regularly?


Guess shrinked is the simple mode and shrunken is the full recovery mode
Cool

Go ahead, make fun of my lousy english :-P
Actually, that might help me to remember the correct form.


Which form? The first normal form? :-D

No, the first normal form is surely scrincaþ (or scrinceþ, if databases aren't feminine) - or maybe scrinceð (or scrincað) or perhaps even gescruncan; even shrinked is a modern aberration, and anyway just the silly southern spelling of shrenkit; shrunk and shrunken are weird hyper-modern forms of schrunken and shronke. Nobody speaks English anymore. :-D


Anyway, "shrinked" (the southern spelling of "shrinkit") has been around for quite a bit more than half a millenium; but ignorant spelling and grammar pedants will claim it's a utterly wrong Angry so that it's safer to stick to shrunk (past participle or adjective) and shrunken (adjective, possible past participle but not with "have" as auxiliary verb).

Tom

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search