klapy Posted April 13, 2006 Share Posted April 13, 2006 What I want to do is insert all old entrys of a certain table into another table...I tried a lot of things, nothing works.Something like this should work, but it doesnt.SELECT *FROM tblAVWHERE tblAV.[Datum uitleen] LIKE '%2006';Date is formatted like: d/m/y and I want to move ALL entry's of a certain year to another table. Link to comment Share on other sites More sharing options...
aspnetguy Posted April 13, 2006 Share Posted April 13, 2006 You should avoid having spaces in column names. WHERE tblAV.[Datum uitleen] LIKE '%2006'; Link to comment Share on other sites More sharing options...
pulpfiction Posted April 13, 2006 Share Posted April 13, 2006 Try this, i guess it should work....SELECT * FROM tblAV WHERE Year(tblAV.[Datum uitleen]) = 2006; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now