Click here to Skip to main content
15,882,113 members
Home / Discussions / Database
   

Database

 
GeneralRe: Data Warehouse vs Transaction Log tables Pin
Member 100956567-Dec-21 21:32
Member 100956567-Dec-21 21:32 
GeneralRe: Data Warehouse vs Transaction Log tables Pin
CHill607-Dec-21 21:57
mveCHill607-Dec-21 21:57 
AnswerRe: Data Warehouse vs Transaction Log tables Pin
Mycroft Holmes8-Dec-21 11:59
professionalMycroft Holmes8-Dec-21 11:59 
QuestionAbout Delphi 11 Professional Edition Pin
Member 1543566318-Nov-21 2:52
Member 1543566318-Nov-21 2:52 
AnswerRe: About Delphi 11 Professional Edition Pin
#realJSOP24-Nov-21 23:49
mve#realJSOP24-Nov-21 23:49 
AnswerRe: About Delphi 11 Professional Edition Pin
Eddy Vluggen6-Dec-21 9:04
professionalEddy Vluggen6-Dec-21 9:04 
AnswerRe: About Delphi 11 Professional Edition Pin
0x01AA6-Jan-22 9:34
mve0x01AA6-Jan-22 9:34 
QuestionConnecting DB tables Pin
MekaC31-Oct-21 20:48
MekaC31-Oct-21 20:48 
AnswerRe: Connecting DB tables Pin
David Mujica1-Nov-21 3:28
David Mujica1-Nov-21 3:28 
GeneralRe: Connecting DB tables Pin
MekaC1-Nov-21 15:59
MekaC1-Nov-21 15:59 
AnswerRe: Connecting DB tables Pin
Member 153296131-Nov-21 3:53
Member 153296131-Nov-21 3:53 
GeneralRe: Connecting DB tables Pin
MekaC1-Nov-21 16:00
MekaC1-Nov-21 16:00 
GeneralRe: Connecting DB tables Pin
Member 153296132-Nov-21 1:09
Member 153296132-Nov-21 1:09 
GeneralRe: Connecting DB tables Pin
MekaC1-Nov-21 15:59
MekaC1-Nov-21 15:59 
GeneralRe: Connecting DB tables Pin
Richard MacCutchan1-Nov-21 22:46
mveRichard MacCutchan1-Nov-21 22:46 
SuggestionRe: Connecting DB tables Pin
CHill602-Nov-21 0:05
mveCHill602-Nov-21 0:05 
AnswerRe: Connecting DB tables Pin
Eddy Vluggen12-Nov-21 12:02
professionalEddy Vluggen12-Nov-21 12:02 
QuestionHow much difference is there between SQL server 2008 and 2012 Pin
jkirkerx28-Oct-21 9:09
professionaljkirkerx28-Oct-21 9:09 
AnswerRe: How much difference is there between SQL server 2008 and 2012 Pin
phil.o28-Oct-21 9:35
professionalphil.o28-Oct-21 9:35 
GeneralRe: How much difference is there between SQL server 2008 and 2012 Pin
jkirkerx28-Oct-21 9:43
professionaljkirkerx28-Oct-21 9:43 
GeneralRe: How much difference is there between SQL server 2008 and 2012 Pin
phil.o28-Oct-21 9:58
professionalphil.o28-Oct-21 9:58 
GeneralRe: How much difference is there between SQL server 2008 and 2012 Pin
jkirkerx28-Oct-21 10:09
professionaljkirkerx28-Oct-21 10:09 
QuestionRe: How much difference is there between SQL server 2008 and 2012 Pin
CHill602-Nov-21 0:10
mveCHill602-Nov-21 0:10 
AnswerRe: How much difference is there between SQL server 2008 and 2012 Pin
jkirkerx2-Nov-21 7:45
professionaljkirkerx2-Nov-21 7:45 
I'm working on a project written by 3 Chinese kids from China that were here at UC Irvine to study back in 2000 written in PHP over the course of 8 years. They made some bad choices in database design and I'm not about to change the database since I don't have a full understanding of how the program works. Well I do now after rewriting the PHP since Feb 2021. These kids had disrespect for HTML as well, and the worst programming disciplines I have ever seen.

In PHP 7.4, converting the date to a ISO formatted string speed ed up the process of converting that date into a PHP date object for my Calculation.Factory.PHP to process formulas, which generates the cost of an activity or specific job in the construction industry. And for some reason, technical, writing a PHP date back to SQL server required a different date conversion in SQL.

What was most frustrating was reading a date in SQL, and writing it back to another table in the same format, and SQL server would not write it unless it was in a certain ISO format.

The main point of this project was to get the existing code re imagined and upgraded from PHP 4.2 to PHP 7.4+ to extend the life of the application another 20 years.

I know why the dates had to be converted but I don't know how to work around this without altering the database design at this point in time. Excellent question which is making think about the dates again.

The original SQL did cast the date, but I can't remember at the moment why I had to remove the CAST, that was 8 months ago.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

QuestionArray Issue Pin
MekaC24-Oct-21 17:59
MekaC24-Oct-21 17:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.