Viewing 5 posts - 241 through 245 (of 245 total)
'works out the age of the apprentice.
Dim total As String
Dim strDOB As String = Format(CDate(.DateOfBirth), "MM dd")
...
March 16, 2009 at 10:49 am
Sergio Lugo (6/30/2008)
I use this formula:
Age = floor(datediff(day, [DateOfBirth], getdate())/(365.25))
You can also put it in a calculated column.
It works (I think) because one year actually has 365.25 days......
March 13, 2009 at 4:50 am
hi.
i'm getting this error and i've added the SET FMTONLY OFF section as well.
here's the code that i'm running in SQL Query Analyzer:
select * from openquery ( [SEVERNAME] , '...
January 6, 2009 at 4:27 am
i used the "..." because mysql tables dont seem to have an 'owner'. e.g: dbo.
so since we've only got the one database on that server then "..." seems to work...
December 24, 2008 at 3:53 am
i'm trying to do an insert statement aswell. its going to a mysql linkserver database. the linked server is on an sql server.
the link server is using the mySQL...
December 24, 2008 at 2:20 am
Viewing 5 posts - 241 through 245 (of 245 total)