Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mariadb datetime change to microseconds

create function example(x datetime(5)) returns time(4)
begin
  declare y timestamp(6);
  return cast(x as time(2));
end;
Source by mariadb.com #
 
PREVIOUS NEXT
Tagged: #mariadb #datetime #change #microseconds
ADD COMMENT
Topic
Name
9+1 =