Viewing 15 posts - 1 through 15 (of 40 total)
You can place the original calculation for MonthsInService into the calculation for MyCol3. It would look like this:
datediff(year,[DateEngaged],getdate()) * 2
Hope this helps,
Eli
January 12, 2010 at 12:11 pm
SQL Server Express has the ability to create Database Diagrams. You can also use Reporting Services. Not sure about the others....
Eli
July 24, 2009 at 1:21 pm
What are you trying to do? More information is neccessary.
Eli
July 24, 2009 at 12:36 pm
The layout is based on the order of your listed parameters (Report -> Report Parameters). You have the ability to move them up or down which will affect where they...
July 24, 2009 at 8:30 am
How about the datatypes for your parameters? Are they date to datetime?
Eli
July 24, 2009 at 6:47 am
Good call - should've thought of row_number.
Would this still be off by 1? If the maxnum function retrieved the next incremental number and row_number starts at 1, then there will...
July 22, 2009 at 7:42 am
What are you validating this against? Additional information is needed - such as table structure/schema etc.
Eli
July 22, 2009 at 6:53 am
You could add a bit field indicating whether a notification was already sent out for the records to determine if they're new records or not.
Eli
July 22, 2009 at 6:50 am
1. Tables Quiz and Answer do not need the subject_id field. This is because that can be determined from Table Question which falls under a Subject.
2. Not that it's necessary...
July 21, 2009 at 10:30 am
It's hard to say without really seing the structure of the tables and it's data. However, try using a LEFT OUTER JOIN on the table with the date.
Eli
July 9, 2009 at 6:57 am
I'm not sure if this is the best route, but if you know that your field will always have the last day of the month, you can say something like:
WHERE...
July 8, 2009 at 7:31 am
You can use a CHECK contraint to enforce that only certain values can be entered. This can be done when you create the table (in-line) or added to the table...
July 8, 2009 at 7:13 am
I just ran it in SQL Server 2005 and it worked. What happens when you run it?
July 8, 2009 at 7:01 am
Viewing 15 posts - 1 through 15 (of 40 total)