Solved

Help with computed column

Posted on 2015-01-14
3
82 Views
Last Modified: 2015-01-15
I have a table that has a date column. I want to add a computed bit column that indicates which record has the latest date, i.e., the "active" record.

How can I do this?
0
Comment
Question by:HLRosenberger
3 Comments
 
LVL 12

Accepted Solution

by:
FarWest earned 500 total points
ID: 40549446
if you have duplicate rows with different dates (example client info multiple records) in the table and you want computed column to test if this record is the last one, I think this is not possible,
using views  is better to  achieve this,
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 40551471
ok thanks.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now