Viewing 15 posts - 4,486 through 4,500 (of 8,731 total)
I would try to go from the basics to the more advanced things to help to determine easier the knowledge and also to give an easy start for the candidates...
August 6, 2015 at 8:58 am
Uwe Ricken (8/6/2015)
your measures are not correct because you didn't run the process:
- for each table separately
- with 200 concurrent Connections
Than you will have a HIGH fragmentation on the...
August 6, 2015 at 8:56 am
I just thought on giving a shorter solution that uses a tally table.
CREATE TABLE dbo.TestPivot(
CollectionDate DATETIME,
Products VARCHAR(40),
ItemCount INT
);
INSERT INTO dbo.TestPivot
SELECT '4/1/2015','Benz' , 20
UNION
SELECT '4/2/2015','Benz' , -10
UNION
SELECT '4/3/2015','Toyota' , 10
UNION
SELECT '4/1/2015','Toyota'...
August 6, 2015 at 8:35 am
As I was reviewing my code, I found a mistake. I'm including a corrected version filled with comments on what the code is doing.
Basically, I'm removing the cursor because...
August 6, 2015 at 7:57 am
sknox (8/6/2015)
DrKiller (8/6/2015)
I was looking at the size of the CHAR value... I figured that because it is lower,...
August 6, 2015 at 6:59 am
TomThomson (8/5/2015)
Eirikur Eiriksson (8/5/2015)
...and a bottle of gusano rojo mezcal to erase the "internal" memory, just in case😎
That's crul and unusual punishment; anything involving a gusano (whether rojo or any...
August 5, 2015 at 8:23 pm
Ed Wagner (8/5/2015)
whereisSQL? (8/5/2015)
Eirikur Eiriksson (8/5/2015)
SQLRNNR (8/5/2015)
poopingPotty
Training
Wheels
Hot
August 5, 2015 at 2:07 pm
Eirikur Eiriksson (8/5/2015)
SQLRNNR (8/5/2015)
Sean Lange (8/5/2015)
Ed Wagner (8/5/2015)
Just don't forget to drop the database when the interview is over. 😉
Or just create the objects in tempdb. :hehe:
Or better yet -...
August 5, 2015 at 1:29 pm
For fixed width, SUBSTRING is the way to go. To reverse the process will be more difficult as you're creating different types of rows that would need validation when importing...
August 5, 2015 at 1:17 pm
jasona.work (8/5/2015)
On a side note, anyone want my summer cold? I'll even drive to your house and deliver it in person...
Would it make my summer cooler? It's hot in...
August 5, 2015 at 12:52 pm
I am entry level.First, I want to gain knowledge on internals of log shipping and internals of mirroring. So,Please suggest good books to start with
I'm so tempted to say Books...
August 5, 2015 at 12:48 pm
jasona.work (8/5/2015)
GilaMonster (8/5/2015)
And to get back on topic:
"What book...
August 5, 2015 at 12:11 pm
I'll support what Kevin mentioned.
There's a great room for improvement and I'm sure it wouldn't stop with this procedure as the whole database will have similar problems.
I'd suggest that you...
August 5, 2015 at 11:38 am
You could create a Schema and grant permissions to the user on that schema so the user will have permissions to the views on that schema.
Otherwise, you need to grant...
August 5, 2015 at 10:32 am
Revenant (8/5/2015)
DonlSimpson (8/5/2015)
Ed Wagner (8/5/2015)
crookj (8/5/2015)
Luis Cazares (8/5/2015)
Ed Wagner (8/5/2015)
djj (8/5/2015)
whereisSQL? (8/5/2015)
Ed Wagner (8/5/2015)
crookj (8/5/2015)
whereisSQL? (8/5/2015)
Ed Wagner (8/5/2015)
Eirikur Eiriksson (8/5/2015)
Ed Wagner (8/5/2015)
djj (8/5/2015)
Eirikur Eiriksson (8/5/2015)
SQLRNNR (8/4/2015)
winner winner chicken dinnerCorn
Cob
Salad
Days
Nights
Dark
Dusk
Sunset
Boulevard
Motorcycle
Harley
Quinn
Joker
Riddler
Penguin
March
August
August 5, 2015 at 10:27 am
Viewing 15 posts - 4,486 through 4,500 (of 8,731 total)