Viewing 15 posts - 1,351 through 1,365 (of 2,894 total)
rVadim (8/16/2012)
Instead of 103 use 03
DECLARE @D CHAR(10) = '17/08/12'
SELECT CONVERT(date, @D, 03)
03? That is old ambulance number in Russia, you can use just 3 ...:hehe:
Actually, SQL can convert '17/08/12'...
August 17, 2012 at 3:01 am
Sergiy (8/16/2012)
You miss the point.Once again:
UPDATE testSET name = 'Tom'
WHERE NAME = 'Tom'
Does this one writes into the page?
...
Basically does it cause physical I/O operation on the disk?
My answer...
August 16, 2012 at 4:45 am
scott_lotus (8/15/2012)
August 15, 2012 at 8:39 am
First thing I would do is de-noodling the code so it can be readable:
a.) Format with proper indenting of code between BEGIN and END
b.) Remove the hoard of commented out...
August 15, 2012 at 8:16 am
...
To be fair, we'd start from a file, because if the contest is aggregating from a table, assembly wins because I'll pick a table definition that consists of putting the...
August 15, 2012 at 4:20 am
Jay Pete (8/14/2012)
I am newbie in the T-SQL Programming.
Please anyone can explain to me when and where i should use left join or right join with nice example.
Thanks in...
August 14, 2012 at 3:55 pm
...
That said - if I gave you a file or a table with 10,000,000 invoices and I needed to get a balance by customer, I guarantee you SQL server will...
August 14, 2012 at 3:47 pm
All your single quotes must be escaped by doubling them:
SELECT [ValidationRule]
= '[PERFORMINGPROVIDERID]=COALESCE(NULLIF([PERFORMINGPROVIDERID],''''),NULLIF([PERFORMINGPROVIDERNPI],''''),NULLIF([BILLINGPROVIDERNPI],''''),REPLICATE(''*'', 10))'
August 14, 2012 at 9:08 am
If you are looking for performance, then "well-done" CLR using RegEx will outperform T-SQL for large and/or complex string replacements.
August 14, 2012 at 8:27 am
drew.allen (8/14/2012)
August 14, 2012 at 8:18 am
...
Anybody who's taken just a little bit of math in university should be able to relate to a matrix.
Ough! Yes! I have seen this film! Also, I've seen The...
August 14, 2012 at 6:32 am
...
Same here. Experience takes precedence over theory.
...
Actually, you wouldn't even need a lot of experience to choose surrogate PK over natural key. Use common sense or apply pure mathematical...
August 13, 2012 at 9:10 am
Sergiy (8/12/2012)
CELKO (8/10/2012)
like the idea of having a sid (a surrogate id) on my tables, even if I do have a natural key that can serve as a primary...
August 13, 2012 at 7:22 am
...
Removed...
:
Don't forget to buy and read all his books, otherwise you will be left in unknowing state for ever!
:hehe:
August 10, 2012 at 3:39 pm
What is your default connection option in EM for ANSI_NULLS? I think it will be OFF. In old QA it used to be ON...
Try to create your proc as per...
August 10, 2012 at 10:17 am
Viewing 15 posts - 1,351 through 1,365 (of 2,894 total)