Just nu i M3-nätverket
Jump to content

Hämta senaste posten


Admini

Recommended Posts

Hej

För att hämta senaste posten i en Accessdatabas, gör man så?

 

[color="#0000ff"]SELECT[/color] [color="#0000ff"]MAX[/color](Id) [color="#0000ff"]AS[/color] maxId [color="#0000ff"]FROM[/color] Tabeller

 

Eller så?

 

[color="#0000ff"]SELECT[/color] Id [color="#0000ff"]FROM[/color] Tabeller [color="#0000ff"]WHERE[/color] Datum >= "&Date()&"

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...