Viewing 15 posts - 4,306 through 4,320 (of 5,590 total)
declare @test table (col1 numeric(10,4))
insert into @test
SELECT 34.0200 UNION ALL
SELECT 1232.0560 UNION ALL
SELECT 234.4400 UNION ALL
SELECT 451232.123
select * from @test
where col1 like '%.__[1-9]%'
This does do an implicit conversion...
April 22, 2010 at 11:51 am
CirquedeSQLeil (4/22/2010)
Trey Staker (4/22/2010)
Jason, Congrats. Brent Ozar is talking about you on his Blog[/url] and welcoming you in as a new blogger on SQLServerpedia.com
Thanks.
I like the comment he made...
April 22, 2010 at 11:40 am
A picture's worth a thousand words, but setup code is worth more. If you can provide the tables structure via CREATE TABLE statements, and some sample data via INSERT statements,...
April 22, 2010 at 10:22 am
AndrewSQLDBA (4/22/2010)
Hope that you don't mind if I take the code apart and figure out how it works, and what it does
Actually, I think you will find that most people...
April 22, 2010 at 8:53 am
Grant Fritchey (4/22/2010)
jcrawf02 (4/21/2010)
GregoryF: "don't worry about not knowing how many instances/servers there are, every where I have ever worked, no one know all of them, there are some that...
April 22, 2010 at 8:44 am
Gianluca Sartori (4/22/2010)
Jack Corbett (4/22/2010)
Gianluca Sartori (4/21/2010)
Public const SC AS String = "'" 'Yes, you got it right, it's...
April 22, 2010 at 8:20 am
Hugo Kornelis (4/22/2010)
Abrar Ahmad_ (4/22/2010)
April 22, 2010 at 6:03 am
GregoryF (4/21/2010)
jcrawf02 (4/21/2010)
GregoryF: "don't worry about not knowing how many instances/servers there are, every where I have ever worked, no one know all of them, there are some that are...
April 21, 2010 at 9:59 pm
Matt Miller (#4) (4/21/2010)
For 2 exactly - the median is the average of the 2 numbers.
Well, keywestfl9 did say:
i have a requirement to find median of two date column in...
April 21, 2010 at 9:53 pm
ColdCoffee (4/21/2010)
Lynn Pettis (4/21/2010)
Please note that if you write the query the way Coldcoffee showed you it will not take advantage of any indexes that may exist on your table.
Guess...
April 21, 2010 at 9:37 pm
andy behrendt (4/21/2010)
I have a stored procedure that requests one parameter which is a bit field. In the stored procedure I want to check if the parameter is...
April 21, 2010 at 9:07 pm
keywestfl9 (4/21/2010)
i have a requirement to find median of two date column in a table.Can anyone suggest how do i achieve it in sql query?
Thanks for any help
How's this?
DECLARE @Date1...
April 21, 2010 at 9:00 pm
CirquedeSQLeil (4/21/2010)
Yeah - I saw that. I like how he began his blog.
That was indeed a novel way to start...
April 21, 2010 at 6:47 pm
GregoryF (4/21/2010)
Me, and many of my friends do spend a few hours surfing the web during the day.
Then, to kill the time surf the web.
Might I suggest instead of just...
April 21, 2010 at 6:44 pm
Paul White NZ (4/21/2010)
Well this took off while I was asleep!
You actually sleep??? When did this change occur? :w00t:
April 21, 2010 at 5:00 pm
Viewing 15 posts - 4,306 through 4,320 (of 5,590 total)