10 questions with no answers
0 votes
0 answers
175 views
How can i input the correct Timestamp corresponding to the time, when the data was retrieved in sqlite3?
I am modifying a code snippet from a udemy course, to fit my goal. My goal - > being able to store the timestamps in a sqlite3 database corresponding to the actual time the data was retrieved. The ...
0 votes
0 answers
200 views
Delete from Mysql table where datetime is older than datetime of another item
I have some difficulty to get my MySQL query right. The current status is like this: I have a table containing Todo's with a datetime field changed_at (set to current datetime on insert/update) I want ...
1 vote
0 answers
111 views
Insert into table by filtering date from another table?
As a overview we are trying to analyse one kind of eCommerce delivery business, where our today's business depends on last evening and today's morning orders And our business team defined the below ...
0 votes
0 answers
48 views
convert many date formats to its assigned formatted date
I want to convert Non-Standard Date Formats to Standard Date format. Table has Column_A and Column_B I have column_A as input and I want the corresponding value on column_B.
0 votes
0 answers
221 views
Arithmetic overflow error converting expression to data type datetime when running dynamic sql
I have seen a couple solutions to this SQL error(8115) but none seems to work for me. I think its because I am using dynamic SQL script. I dynamically pull data from multiple servers that have the ...
0 votes
0 answers
712 views
MySQL datetime and timestamp only showing date (without time) when called on a query in Java
I created the following table on a MySQL DataBase: CREATE TABLE DATES( DT DATETIME, TS TIMESTAMP, ); And inserted the following data into the DATES: INSERT INTO DATES(DT, TS) VALUES(NOW(), ...
1 vote
0 answers
295 views
Unable to resolve System.EnterpriseServices.Wrapper.dll when using SqlDateTime.MinValue
Whenever I use "System.Data.SqlTypes.SqlDateTime.MinValue.Value" in my xamarin.forms app I am getting the following error while building my IOS App 2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\...
1 vote
0 answers
567 views
Detect SQL min date string in javascript
In an angularJS application I'm working on, we are using a SQL server to provide data. Nothing odd there. I am tasked with working on the date sanitation, so objects that are passed into our ...
0 votes
0 answers
568 views
ClassCastException: Cannot cast java.sql.Date (id=9010) to java.sql.Timestamp
I am having a problem with a Java 1.4 app. I am executing a JDBC Qyery-which is 2 date fields in an Oracle database (both the 2 fields I am reading is of type DATE with NULLABLE = false) SELECT ...
0 votes
0 answers
77 views
How to let MySQL NOW() function return the user time
I ran into a very tricky MySQL issue.. Our DB is using type DateTime for the updated_at column, and now is too late to change it back to TimeStamp. I'm thus trying to add a trigger to update this ...