Viewing 15 posts - 766 through 780 (of 3,957 total)
YSLGuru,
Sorry for being off topic but I'd really like to know who said that quote in your signature.
I live in Bangkok and I'm not sure if you know what is...
February 18, 2014 at 6:33 pm
Because Historical is an INT data type. When you insert ' ' to it, SQL converts it to 0. Look at the output from your first query.
So you...
February 18, 2014 at 6:20 pm
I wrote this FUNCTION a long time ago. Note that it is case sensitive.
CREATE FUNCTION [dbo].[NestedReplace]
-- Author: D. Camps
-- Date: 24-Jan-2013
-- Remarks: NestedReplace is designed to repeatedly apply...
February 18, 2014 at 6:00 pm
DataEnthusiast (2/18/2014)
P.S: How do you paste your code in separate...
February 18, 2014 at 5:40 pm
zulfansari (2/18/2014)
Hoping you could help out again, I've been working on this all day long but no luck.
I got the query in the system, based on the following results,...
February 18, 2014 at 5:32 pm
Sean Lange (2/18/2014)
Thanks Dwain. You were right in what you thought I was going for. Seems that this issue is in good hands now.
Thanks for letting me know that Sean....
February 18, 2014 at 5:20 pm
jcrawf02 (2/18/2014)
dwain.c (2/17/2014)
Jeff Moden (2/17/2014)
dwain.c (2/17/2014)
Jeff Moden (2/17/2014)
zulfansari (2/17/2014)
You guys are AWESOME..
I really appreciate your help and learned new tips and tricks from all of you..
God...
February 18, 2014 at 5:12 pm
karthik M (2/17/2014)
dwain.c (2/17/2014)
Are you looking for a weighted average (by day within date range) for the average exchange rate?yes.
I suggest then that you reduce the date range (from, to)...
February 17, 2014 at 11:26 pm
Jeff Moden (2/17/2014)
dwain.c (2/17/2014)
Jeff Moden (2/17/2014)
zulfansari (2/17/2014)
You guys are AWESOME..
I really appreciate your help and learned new tips and tricks from all of you..
God bless you...
February 17, 2014 at 10:36 pm
Jeff Moden (2/17/2014)
zulfansari (2/17/2014)
You guys are AWESOME..
I really appreciate your help and learned new tips and tricks from all of you..
God bless you all!
Just an FYI,...
February 17, 2014 at 9:44 pm
You're right! That was kind of doggy wasn't it? Try this instead:
CREATE TABLE dbo.OriginsDestinations
(
Origin INT
,Destination INT
,PRIMARY...
February 17, 2014 at 9:29 pm
With some DDL including indexing on your table it might offer a clue.
February 17, 2014 at 8:32 pm
Looks like an awful lot of work and an awful lot of DISTINCTs. Wouldn't this be simpler?
WITH SampleData (Origin, Destination) AS
(
SELECT 1, 2
UNION ALL SELECT 2, 1
UNION ALL SELECT...
February 17, 2014 at 7:20 pm
The Newton-Raphson approach to finding roots can also be done in an rCTE:
February 17, 2014 at 5:59 pm
Viewing 15 posts - 766 through 780 (of 3,957 total)