Solved

Help with computed column

Posted on 2015-01-14
3
89 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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