PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Could not save milliseconds to MS SQL
Could not save milliseconds to MS SQL
Started by Markus, Feb., 09 2017 8:14 AM - No answer
Connect yourself…
Markus
#1
Registered member
9 messages
Posted on February, 09 2017 - 8:14 AM
Windev always set milliseconds to 000:
HReset(UserLog)
UserLog.Datum=SysDateTime()
HAdd(UserLog)
Result in db: 2017-02-08 07:35:17.000, the milliseconds always set to 000
Same when I use a windev query:
INSERT INTO UserLog
(
UNT_ID,
Datum
)
VALUES
(
{ParamUNT_ID},
current_timestamp
)
When i use MS management studio all works fine:
INSERT INTO UserLog
(
UNT_ID
,
Datum
)
VALUES
(
0
,
current_timestamp
)
result in db is correct: 2017-02-08 07:37:44.577
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text