Friday, 17 January 2014

The Lilac Box: Yves Rocher Concept Box

Scribbled by TeddieDebbie at 09:45 0 scream(s)
Wah this is a long overdue entry wtf.

Christmas really got a lot of sales wtf made me wanna spend money only.

NAH! Don't judge me ha!

So about 1 week before Christmas, I received my order!
Pinky and Raccoon sent it to me hehe
Oh no... They opened the package themselves!
Checking the products in the box
Gift card and an event invitation!
Already expired hehe I went to Bangkok couldn't attend ma.
Eh! They started to snatch my stuffs! Nuuuuu!
Aha! I cornered you!
*Raccoon dropped the perfume*
"No way it's mine!" *snatches back*
"Just let me do some intro and it's yours!"
Moment de Bonheur Eau de Parfum
Comment: Scent not very strong, I likey =D
Moment de Bonheur Perfumed Shower Gel
Comment: Shower gel only lor. Same smell as the perfume! =D
Moment de Bonheur Perfumed Body Lotion
Comment: Just like the Enchanteur fragrance body lotion. Same smell as the shower gel and the perfume! =D
Good also coz you won't have different smells when you use all of them together.
Hydra Vegetal Skincare Products: Cleansing Milk, Toner, Moisturizing Gel
Comment: I don't know why everytime I used the toner and moisturizing gel, my face will become so wet like I've just sweat wtf. Over moisturized?
"Stand back or I'll shoot you with bee! This lip gloss is mine!"
Coulers Gloss Sublimateur Repulpant
Comment: Nais color! =D I liked it a lot! It goes very very very well with my Maybeline NUDE Lipstick! I think this is the only lipgloss I don't mind wearing all the time ^^

Upper: Before (So pale)
Lower: After (Bling bling!)
I like the shiny effect and the smell - so sweet! ^^
Hey look, Puppi found a pouch!
Can put everything inside! ♥

If you're interested with this beauty box, sign up here!
More info at their home page here.
Categories ,
Share/Like to turn a rhinoceros into a unicorn!

Tuesday, 14 January 2014

SSRS 2012: Decision Function (IIF & SWITCH)

Scribbled by TeddieDebbie at 12:06 0 scream(s)
Note: Cuppycakes that came to this entry because it's really urgent to know how, kindly Ctrl+F "Begin:" to get to the point.

* * * * * * * * * * * * * * * * * * * *

YORRR suddenly Serena shared my blog post I very de paiseh leh
Likes collected up to this time this moment, ie 13/1/2014 7.14pm. LOL (macam pathetic saja XD)

It was published 2 months ago and no one seems interested in it leh wtf.

Anyway the page record shoot up to 39 views today! Whoa! The power of social media and influence of Serena! I kowtow to both of you and fly my kisses to you readers! Both in reality and those imagine by me! Nah catch it!

Hahaha paiseh seems like I was a bit overexcited with it and keep crapping LOL OK OK lets begin ba!

So I was assigned (I think I still am wtf) to solve the report performance at work and have, of course, consulted Serena for the solution. (Yeah babe, it's SOLUTION, not WORKAROUND yo!) OK *ahem* nevermind that was an internal joke.

ANYWAY! Back to the assignment. Apparently, one of the way to improve the performance is to allow some tasks to be performed by the .rdl file instead of letting the SQL query in the stored procedure to render. So for this entry, I'm going to talk about using decision function with "IIF" and/or "SWITCH" in the .rdl UI to replace the "CASE WHEN... THEN" in the SQL statement.

To show as example, I've created a sample data as below:
Sample data
Where:
Subjects:
1 = History, 2 = Maths, 3 = Science, 4 = English, 5 = Psychology, 6 = P.E.

Normally, this is what we'll do:
a. Write the stored procedure this way (Query type: Text)
Declare @SQL nvarchar(max);

Begin
-- Select statements for procedure here
Set @SQL = 'SELECT Participants,
CASE WHEN Subjects = 1 THEN ''History'' WHEN Subjects = 2 THEN ''Maths'' WHEN Subjects = 3 THEN ''Science'' WHEN Subjects = 4 THEN ''English'' WHEN Subjects = 5 THEN ''Psychology'' WHEN Subjects = 6 THEN ''P.E.'' ELSE ''OTHERS'' END AS Subjects,
CASE WHEN Grades = ''A+'' THEN ''Excellent!'' WHEN Grades = ''A-'' THEN ''Well Done!'' WHEN Grades = ''B+'' THEN ''Good!'' WHEN Grades = ''B'' THEN ''Could Do Better!'' WHEN Grades = ''B-'' THEN ''Need a Lil Push!''
WHEN Grades = ''C+'' THEN ''Gotta Work Harder!'' ELSE ''Hopeless!'' END AS Grades
FROM dbo.SampleTable (nolock) a'
End

EXEC sp_executesql @SQL

b. Create UI like this
Sample .rdl UI

So the outcome will be like this:
Sample outcome
Click to see enlarged image
Note: Please ownself do necessary grouping in Step b. to get the above outcome ha.

ps: Don't nitpick over the description 'kay, it's just a sample.

* * * * * * * * * * * * * * * * * * * *

Begin:

So to let the UI take over the grouping task, here's what you can do:
a. Change all the "CASE WHEN... THEN" in the SQL statement as per below snippet
From
CASE WHEN Subjects = 1 THEN ''History'' WHEN Subjects = 2 THEN ''Maths'' WHEN Subjects = 3 THEN ''Science'' WHEN Subjects = 4 THEN ''English'' WHEN Subjects = 5 THEN ''Psychology'' WHEN Subjects = 6 THEN ''P.E.'' ELSE ''OTHERS'' END AS Subjects

To
Subjects

AND

From
CASE WHEN Grades = ''A+'' THEN ''Excellent!'' WHEN Grades = ''A-'' THEN ''Well Done!'' WHEN Grades = ''B+'' THEN ''Good!'' WHEN Grades = ''B'' THEN ''Could Do Better!'' WHEN Grades = ''B-'' THEN ''Need a Lil Push!'' WHEN Grades = ''C+'' THEN ''Gotta Work Harder!'' ELSE ''Hopeless!'' END AS Grades

To
Grades

As referring to sample above.

b. Change the .rdl file UI as per instruction below
SWITCH
Step 1: Right click on the cell you want to do the decision function as per shown in the image above. Click on "Expression..." to write the custom statement.
Step 2: When the pop up windows appear, write your own custom statement for the decision function.
Above image shown is an example of statement using SWITCH.
Syntax: =SWITCH(Cond1, Expr1, Cond2, Expr2, ...)

Very useful when you know what are your choices. But even if you don't - and you even need an "else" - you can always add in "1=1" as your condition followed by your "else" statement. Also used when there are more than 2 choices.

For example,
=SWITCH(..., Fields!Subjects.Value = 6, "P.E.", 1=1, "Others")

IIF
Step 3: Do the same to other cells that you want to change
Step 4: Write custom statements when pop up windows appear.
This one is using IIF statement.
Syntax: =IIF(Cond, true, false)

Usually IIF is used for 2 choices. But just like Excel, it can be used for multiple selections by just nesting them as shown in the example image!

The outcome
Click to enlarge
(Source: MSDN)

TADAH! There, you're good to go! ^^
Categories ,
Share/Like to turn a rhinoceros into a unicorn!

Monday, 13 January 2014

MIVVA Beauty Box: Special Edition - X'Mas Box

Scribbled by TeddieDebbie at 18:59 0 scream(s)
Hehehe old post :p Last review on Mivva Beauty Box ady!

Mivva team sent the box on 16th so that we can receive it on 23-24th how sweet! ♥
Merry Christmas! ♥
Product description
There are more products included this month! =D
The products
Neuzell Facial Cleanser, RM89.90 for 100ml
Macam yes, tapi bukan. LOL no lah just kidding! Cleanser didn't really help much as my face condition still remain the same. Well... Not that I've got a lot of problems la. So can't really see what's the difference also. *shrugs*

Uriage Gyn-Phy Feminine Wash, RM24.90 for 200ml
I was using Lactacyd Nourish bought from Watson and I didn't feel there's any difference between these 2 products.
Lactacyd Nourish
Image source: Health2u
Regardless of the brand, feminine hygiene is really important.

Redflo Hair Shampoo, RM69.90 for 750ml
Well I've tried, I still prefer Sunsilk. More foams, more bubbles. Though I heard the chemical that produce the foam is harmful to the scalp Well coz if it doesn't have foams, it gives me this feelings that I didn't wash my hair thorough enough and still giving that dry dry de feelings wtf. Maybe others won't feel the same.

Beautymate Cherry Blossom 2-in-1 Baby Skin Ultra Moisture Barrier Mask + Natural Care Moisturizing Peeling Gel
RM9.90 for 1pc mask & 2ml peeling gel
Full sized product!
This one interesting! Among all the masks I've seen/bought, similar ones will have mask + moisturizing gel instead of peeling gel! This one helps exfoliating the dead skin and assist in the absorbance of the essence in the mask! =D

Well I tried but there's not much of dead skins on my face (not sure if should proud or doubt the way I did it wtf) but still! Not bad xia! =)

Men Original Face Wash, RM15.90 for 95ml
Full sized product!
Since it's a men's face wash, I gave it to KitKit. He's been mixing a lot of different face washer lately, so I'm not sure which works. But this smells good, like the normal one we have =) Can consider xia.

Miacare Acne Patch
RM9.50 for day 12patches, RM9.70 for night 12patches, RM13.70 for mix 9 + 9 patches
My face haven't have any acne yet (teehee!) so didn't get to use it hm. But then again I don't think these patches work on me. Tried nose patch for white/black heads, no can do.

Shaire London Silk Classic Collection Hair Perfume (Dry Shampoo)
RM35.90 for 60ml
For once I purposely didn't wash my hair and needa go out, I used this product. It's as if a person who didn't shower for a day and then the person spray perfume on the body to cover body odor. Same concept. It's just a "hair perfume" for people who didn't wash the hair. Hair still looks greasy =( Maybe I didn't do it right la.

Posh Foot & Body Lotion, RM129 for 250ml
This lotion is actually so cute me 舍不得 use! WTF. Anyway it smells good! Will give it a try aww

Special item from Dazzling Couture!
A collar necklace!
Last item!

Erhm. I'm not sure how to use it ahahah. It looks small on me. Perhaps I can give it to erjie, now whatever she wears, looks good on her.

Follow MIVVA's FB now! They're having a giveaway so if you sign up as a MIVVA member and buy some of their stuffs, you stand a chance to win a KAO box!
Click image to read more about it!
Categories ,
Share/Like to turn a rhinoceros into a unicorn!

Saturday, 4 January 2014

So It Begins...

Scribbled by TeddieDebbie at 23:34 0 scream(s)

Note: Screw resolutions, I've been having the same one since years ago and I'm still trying to achieve it wtf. Any other achievements will be the bonus! So I'm not going to list any resolution for year 2014 ady wtf.

Sorry I waited till this day to update my blog hee Been hanging out with Jann coz she'll be here for 2 weeks only! First blog of the year must be happy - ie, reunion ma right! ^^

1st meet up: 23/12/2013 night @ Old Town White Coffee Balakong.
Simple chit chat and catching up =)
They didn't let me post on FB coz they said they "don't look good" wtf. YOU LOOK PERFECTLY GOOD OK!!! Like I care. It's in my blog ady. 

2nd meet up: 30/12/2013 night @ FUN OK, Equine Park.
Attendees: Jann, Yin, Me, Lemon, Kuan, David (Kuan's bf).
Jann started to ask other friends to join us coz she didn't have much time to entertain them one by one. Didn't take photo coz... It didn't cross anyone's mine ahaha.

3rd meet up: 31/12/2013-1/1/2014 overnight @ Jann's House.
Discussed the trip to Japan in detail!
看娟一席 plan, 胜过盈薇 plan
LOL
Also we watched TBBT (sadly only managed to watch 10 episodes) until 4am so we stayed overnight at her place!

4th meet up: 1/1/2014 night @ The Bee, Publika.
Been asked out on the same day I left Jann's house LOL. She said she's gonna meet a friend but didn't wanna be alone so she asked me to go with her.
They talked about how Japanese girls reacts and turned out they will react super kua cheong with expression wtf I cannot tahan how Jann do that "SUGOII~~~!!!" OMFGWTFBBQ I can die of geli-ness wtf.

5th meet up: 4/1/2014 day @ Pavilion.

Should've been shopping for clothes to Japan trip, but most of the time spent was to meet Jann's friends ahaha.
We planned to leave the house at 8 so we can reach Levain Boulangerie & Patisserie (near Pavilion) for breakfast as there'll be more crowded in later time. But after that she said her dad didn't allow her to go out that early so she will fetch me at 9am. (Note: My car need to be sent back to the workshop to change the flat tyre) OK lor I waited for awhile then she told me her car has no petrol and her dad is filling the petrol for her. Left the house at about 10am, reaching Times Square about half an hour later then only had our brunch at 又一村 Sungei Wang wtf.

And then and then about 4pm, her parents called and said her laptop cannot be fixed - and instead, it got worse! Laptop's brand SONY. Very irresponsible sales. Read here of her comment. Then her parents asked her to go home ASAP. So her mood was partially ruined. Then no choice lor we went to Uniqlo and H&M checked out what are the items we should buy, then left.

And then after we paid for the parking fees in Times Square gonna get going, her car cannot be started! O_O Wah damn suay lor. She's very lucky to have 2 strangers who know one thing or two about car mechanical!


Sibeh nais lor the fellas! Helped Jann to restart her car engine by using their own battery! But of course they switch it back to her own battery after the car is started la. HUGE THANKS TO THEM!!! We can safely go home then ^^

Now that she has 1 more day left at here, she's gonna spend time with her own family until Monday afternoon coz that's when she'll fly back to Japan!

行ってらっしゃい! (装内行 LOL)
Share/Like to turn a rhinoceros into a unicorn!
 

Teddie • Debbie Template by Ipietoon Blogger Template | Gadget Review