Viewing 15 posts - 18,001 through 18,015 (of 18,923 total)
Well now he has 2 solutions... his choice to make. But for the sake of future requirements I'd add the releasedate column and at least try to "normalize" the...
April 28, 2005 at 8:21 am
I totally agree with ron... it's better to have less data that is accurate than all the data that might be...
April 28, 2005 at 8:20 am
1 - Not sure, check books online
2 - Just create a datetime column, then create a trigger that will update that column everytime the row is modified.
3 - It can...
April 28, 2005 at 8:17 am
The best solution would be to create a new ReleaseDate column (assuming you can't delete/replace the issue column). All you'd have to do is figure out the first release...
April 28, 2005 at 8:11 am
Not really because you have 52 weeks in a year and 12 months times 4 = 48.
Can you show us some sample data so we can find a work around?
April 28, 2005 at 7:47 am
If you had a date column you could do group by month(date).
April 28, 2005 at 7:31 am
1 - timestamp is not a date (can't use date functions on this)
2 - timestamp is maintained by sqlserver on the insert and each update whereas the datetime must be...
April 28, 2005 at 6:55 am
You'll need to post the table definition along with some sample data so we can help you with your query.
April 27, 2005 at 1:07 pm
(num.number + 1.0)/@NumPayments
Or declare @NumPayments as decimal if it's possible... but I'd got with + 1.0
April 27, 2005 at 12:37 pm
I'll leave this one in the hands of the gurus... I don't know any other ways.
April 27, 2005 at 11:51 am
You'll have to put a trigger on that table, and when the field(s) of the adress are changed, you'll have to insert the old data in another table to keep...
April 27, 2005 at 11:39 am
You either have to set a trace on the server which can cause a lot of overhead...
Or you can make sure that the users can only access the data from...
April 27, 2005 at 11:28 am
If you can't work it out, post your query and we'll help you.
April 27, 2005 at 9:30 am
This will need some tweaking but it can give you an idea :
SELECT [city_code], [outlet_code], sum([sold_units]) as UnitsSold, CAST(Issue - 1 AS INT) / 4 AS UnitPeriod
FROM [MerchDB].[dbo].[tblOutletSales]
where active...
April 27, 2005 at 9:29 am
Viewing 15 posts - 18,001 through 18,015 (of 18,923 total)