Viewing 15 posts - 1 through 15 (of 56 total)
Hi,
You can try this approach:
Create a powershell script that zip the backup file. Here's the instruction.
Then create a widows task schedule with the powershell script. Here's the instruction. Or create...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
May 18, 2014 at 10:22 pm
Thanks Hugo.
I now understand NULL better and can conclude that NULL mark doesn't represent unknown data.
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
April 6, 2014 at 12:41 pm
Hi Hugo,
I just want to double check my understanding about NULL. Please explain more why NULL does not mean "Unknown". I thought that NULL mark represents missing or unknown data.
In...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
April 6, 2014 at 1:10 am
Very good explanation Hugo!
I like to think of it in sets of the table and use the properties of multiplication to simplify the problem.
So, for the qotd you have 1...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
April 18, 2013 at 8:23 am
Good question. something different. I don't think ssc has many questions about row constructor.
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
April 17, 2013 at 1:30 am
ahhh those trailing spaces. 🙂 thanks for the question.
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 29, 2013 at 3:54 am
gmby (3/28/2013)
good question. but for the life of me, i cannot come up with a reason to use this (nor anyone else where I work)- anybody?jg
This scenario...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 29, 2013 at 3:52 am
This is the easiest question of the month for me. Thanks. 😎
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 27, 2013 at 8:29 am
mtassin (3/25/2013)
Good question, I lost count of GO statements... 🙁 knew where it would fail... but thought that was the 3rd batch, not the 4th.
🙂 I lost track of...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 26, 2013 at 1:21 am
m mcdonald (3/22/2013)
not 106,107,109,113
20,21
The answer, and included as a correct answer
Styles greater than 100
Cannot be correct because of the exceptions 106,107,109,113.
The...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 26, 2013 at 1:02 am
I had to think twice about DDL and DML. Maybe it's better to not include (choose 3) in the question. this will make us think more. Otherwise people just use...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 21, 2013 at 7:25 am
demonfox (3/21/2013)
Dineshbabu (3/20/2013)
Lokesh Vij (3/20/2013)
db4breakfast (3/20/2013)
I never use cascade delete on a production db. It seem to be safer by allowing users mark order as "error" instead.
+1
same here. i feel...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 21, 2013 at 6:45 am
I spent more time to figure out the values of orderdetailID than looking at the effect of the cascade delete. The question title can be misleading sometime. 😀
I never use...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 20, 2013 at 10:46 am
Thanks for the question. I learned this precision rounding from March 12, inner join question from Archie Flockhart's comment. 🙂
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 18, 2013 at 5:30 am
Christian Buettner-167247 (3/15/2013)
Good question but the correct answer is "0 " (with 2 trailing spaces), not "0".#Edit: Add example:
SELECT REPLACE(ISNULL ( CONVERT (char(3),1/9),'*'),' ','<Space>') AS Ret0<Space><Space>
That's correct. Convert...
--------------------------------------------------------------------------------------
Hai Ton
My Db4Breakfast blog.
March 15, 2013 at 6:38 am
Viewing 15 posts - 1 through 15 (of 56 total)