Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting dates not in a date set
Message
 
 
À
19/07/2007 11:10:12
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01241975
Message ID:
01241985
Vues:
34
>I have an accounting table with transactions entered daily for funds. I need to select from the transaction table to make sure all dates have been loaded. I need to check that every day from 9/1/2006 thru today are represented in the file for all funds, and print a list of the missing days, i.e.
>
>
>fund         trans_date
>ABC           10/14/06
>ABC            3/14/07
>DEF            1/4/07
>
>
>
>I have been going round and round with this. I'm not sure the best way to implement it. How would you do it?


Check interesting link http://book.itzero.com/read/others/0602/OReilly.SQL.Cookbook.Dec.2005_html/0596009763/sqlckbk-CHP-9-SECT-10.html for ideas.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform