Viewing 15 posts - 2,686 through 2,700 (of 6,036 total)
Simple query will do it.
Something like this:
SELECT *
FROM Details D
INNER JOIN Eligibility E ON D.[Service Date] BETWEEN E.[From Date] AND E.[To Date]
No cursors needed.
January 18, 2009 at 9:38 pm
Jeff Moden (1/17/2009)
January 17, 2009 at 3:43 pm
Scott T (1/16/2009)
As you can see the results it's not matching. 😉 Well it's up to you know to make a decision.-------------------------------------------------------------------
In science there is no space for someone's decisions.
You...
January 17, 2009 at 2:19 am
Scott T (12/30/2008)
For any math calculation avoid FLOAT use Decimal you will get Write result.:D
DECLARE @One decimal, @Three decimal
SET @One = 1
SET @Three = 3
SELECT @One/@Three + @One/@Three + @One/@Three
Is...
January 15, 2009 at 9:04 pm
SELECT MIN(Date), -- use some formatting here if you need it
MAX((Date), -- again, format the string to the requirements
...
January 12, 2009 at 4:18 pm
You should replace "{Unique Key}" with column(s) which intend to hold unique values.
In your case it's probably TowID, but you should know better.
December 22, 2008 at 9:22 pm
ps, your solution will delete only part of candidates.
If there are 3 identical rows it will leave 3rd row in the table.
Try this:
DELETE R
FROM [tower].[NBDocUpdatedRecords] R
LEFT JOIN ( select MIN(ReplicationID),...
December 22, 2008 at 1:11 pm
Jason, what you describe in your lost post is presenting datetime values in different string formats.
It has nothing to do with splitting date and time parts.
And solution in SQL2k is...
December 18, 2008 at 2:09 pm
Janette,
Problem is: my solution
ORDER BY AlphanumericValue
works perfectly for the dataset you provided:
100
101
102
etc...
Wanna better answer - take some care about asking better question.
December 18, 2008 at 2:02 pm
dejanette.gordon (12/17/2008)
How do you sort alphanumeric data in sequential order? I need the data to go from:
100
101
102
etc...
The answer is:
ORDER BY AlphanumericValue
December 17, 2008 at 8:20 pm
dejanette.gordon (12/17/2008)
December 17, 2008 at 3:04 pm
Jason White (12/17/2008)
I simply choose to tweak the views. Thus I need to split the date and time and make them separate fields.
So, you change the views.
Absolutely fine.
But where...
December 17, 2008 at 2:58 pm
Even less calculations:
select
OrderID,
OrderDate,
ShippedDate,
RequiredDate,
ShippingWindowDays,
OrderWindowDays
...
December 16, 2008 at 9:23 pm
Just don't update what does not need to be updated:
update [my_table]
set [row_uid] = newid()
...
December 16, 2008 at 9:00 pm
PeterTL (12/16/2008)
Recursive problems require recursive actions. So...
If you don't know other way it does not mean there is no other way.
December 16, 2008 at 1:47 pm
Viewing 15 posts - 2,686 through 2,700 (of 6,036 total)