•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 423,654 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,095 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 2573 | Replies: 1
![]() |
•
•
Join Date: Jul 2004
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
HI all
(Battled with the WORD – (probably wrong in these terms))
I have a field in an access database (DateInserted) and want to get a (DateID) field out of it.
To get the DateID field I use – Day(DateInserted)&Month(DateInserted)&Year(DateInserted) - (Unique key for date outputs as 21102004) my problem is that the & function does not work in MySQL.
The job I am busy with at the moment requires that I have this (newspaper’s website http://www.zoutnet.co.za news articles on a weekly basis – DATE IMPORTANT)
Question: how can I turn Day(DateInserted)&Month(DateInserted)&Year(DateInserted) as DateID into MySQL savy SQL
ANYONE THAT CAN HELP PLEASE, PLEASE DO SO!!!!
(Battled with the WORD – (probably wrong in these terms))
I have a field in an access database (DateInserted) and want to get a (DateID) field out of it.
To get the DateID field I use – Day(DateInserted)&Month(DateInserted)&Year(DateInserted) - (Unique key for date outputs as 21102004) my problem is that the & function does not work in MySQL.
The job I am busy with at the moment requires that I have this (newspaper’s website http://www.zoutnet.co.za news articles on a weekly basis – DATE IMPORTANT)
Question: how can I turn Day(DateInserted)&Month(DateInserted)&Year(DateInserted) as DateID into MySQL savy SQL
ANYONE THAT CAN HELP PLEASE, PLEASE DO SO!!!!
![]() |
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- MySQL SELECT rows In a Date Range (MySQL)
- MS Access vs. MySQL (MS Access and FileMaker Pro)
- Please help me out with MySQL query (MySQL)
- Actual Date to Day of the Week Application (Java)
- SQL Server vs MYSQL vs MSQL (i'm stopping now) (MS SQL)
- Invision Power Board mysql error when trying to view newly created forums (PHP)
- ASP and SQL ? (MS SQL)
Other Threads in the MySQL Forum
- Previous Thread: MYSQL/PHP variable check
- Next Thread: been getting errors. can you help?


Linear Mode