Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-06-19 : 16:13:14
|
spins writes "How and what syntax would I use to re-create this access module within SQL:
Function fnctCnvrtDate(strDate As String) As String
Dim strYear As String, strMonth As String, strDay As String
strYear = Mid(strDate, 3, 2) strMonth = Mid(strDate, 5, 2) strDay = Mid(strDate, 7, 2)
strDate = strDay & "/" & strMonth & "/" & strYear
fnctCnvrtDate = strDate End Function
Basically, the converts the date format in a certain field then updates the table.
Any ideas, spins." |
|
|
|
|
|