Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  timestamp_basic.result   Sprache: Lisp

 

SET @session_start_value = @@session.timestamp;
'#--------------------FN_DYNVARS_001_01------------------------#'
SET @@timestamp = DEFAULT;
SELECT floor(@@timestamp) = UNIX_TIMESTAMP(), @@timestamp = UNIX_TIMESTAMP(NOW(6));
floor(@@timestamp) = UNIX_TIMESTAMP() @@timestamp = UNIX_TIMESTAMP(NOW(6))
1 1
'#---------------------FN_DYNVARS_001_02-------------------------#'
SET @@global.timestamp = "1000";
ERROR HY000: Variable 'timestamp' is a SESSION variable and can't be used with SET GLOBAL
'#--------------------FN_DYNVARS_001_03------------------------#'
SET @@timestamp = 0;
SELECT floor(@@timestamp) = UNIX_TIMESTAMP(), @@timestamp = UNIX_TIMESTAMP(NOW(6));
floor(@@timestamp) = UNIX_TIMESTAMP() @@timestamp = UNIX_TIMESTAMP(NOW(6))
1 1
'Setting 0 resets timestamp to session default timestamp'
SET @@timestamp = -1000000000;
Warnings:
Warning 1292 Truncated incorrect timestamp value: '-1000000000'
SELECT floor(@@timestamp) = UNIX_TIMESTAMP(), @@timestamp = UNIX_TIMESTAMP(NOW(6));
floor(@@timestamp) = UNIX_TIMESTAMP() @@timestamp = UNIX_TIMESTAMP(NOW(6))
1 1
SET @temp_ts = @@timestamp - @@timestamp;
SELECT @temp_ts;
@temp_ts
0
SET @@timestamp = 1.1;
SELECT @@timestamp;
@@timestamp
1.100000
SET @@timestamp = 9999999999999999999999;
Warnings:
Warning 1292 Truncated incorrect timestamp value: '1e22'
SELECT @@timestamp;
@@timestamp
2147483647.000000
'#--------------------FN_DYNVARS_001_04-------------------------#'
SET @@timestamp = "100";
ERROR 42000: Incorrect argument type to variable 'timestamp'
SET @@timestamp = " ";
ERROR 42000: Incorrect argument type to variable 'timestamp'
'#----------------------FN_DYNVARS_001_06------------------------#'
'#---------------------FN_DYNVARS_001_08-------------------------#'
SET @@timestamp = OFF;
ERROR 42000: Incorrect argument type to variable 'timestamp'
SET @@timestamp = ON;
ERROR 42000: Incorrect argument type to variable 'timestamp'
SET @@timestamp = TRUE;
SELECT @@timestamp;
@@timestamp
1.000000
SET @@timestamp = FALSE;
'#---------------------FN_DYNVARS_001_10----------------------#'
SET @@timestamp = 123456;
SELECT @@timestamp = @@local.timestamp and @@timestamp = @@session.timestamp;
@@timestamp = @@local.timestamp and @@timestamp = @@session.timestamp
1
SET @@timestamp = 654321;
SELECT @@timestamp = @@local.timestamp and @@timestamp = @@session.timestamp;
@@timestamp = @@local.timestamp and @@timestamp = @@session.timestamp
1
'#---------------------FN_DYNVARS_001_11----------------------#'
SET timestamp = 1;
SELECT @@timestamp;
@@timestamp
1.000000
SELECT local.timestamp;
ERROR 42S02: Unknown table 'local' in SELECT
SELECT session.timestamp;
ERROR 42S02: Unknown table 'session' in SELECT
SELECT timestamp = @@session.timestamp;
ERROR 42S22: Unknown column 'timestamp' in 'SELECT'
SET @@timestamp = @session_start_value;

Messung V0.5 in Prozent
C=57 H=100 G=81

¤ Dauer der Verarbeitung: 0.9 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....
    

Besucher

Besucher

Statistik
#Sources=1126438
#Domains=1897691