Siemens Sinumerik 840D sl Function Manual page 58

Motion control information system
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

DNC Plant/DNC Cell (FBDN1)
3 Operator interface
Filtering by date in SQL Server / MSDE databases
Fig. 3-22: Filter Criteria dialog for date in SQL Server / MSDE databases
Note
The date format depends on the setting in the database. For this reason, the date
must be entered in the format required by the database since it cannot be
converted.
Example 1 "Change date > getdate() – 2"
The getdate() function allows the current date to be output in SQL Server. The filter
criterion Change date > getdate() - 2 returns all the DNC data records whose
change date is no more than two days ago. The getdate() function allows the
system to filter data on a relative basis (e.g. according to changes made over the
past few days (two days in the example provided here)). This means that you do
not have to specify an absolute date in a particular date format.
Example "Change date > 2007-03-23"
In this example, all the programs whose change date is after 03/23/2007 are
displayed. The correct date format must be observed here. The default setting in
SQL Server is the ISO format:
YYYY-MM-DD. The format should be checked beforehand when this filter criterion
is used.
Example "Change date > 2007-03-23 12:30:00"
In this example, all the programs whose change date is after 03/23/2007 12:30:00
are displayed. The correct date format must be observed here. The default setting
in SQL Server is the ISO format:
YYYY-MM-DD HH24:MI:SS. The format should be checked beforehand when this
filter criterion is used.
FBDN1/3-50
© Siemens AG 2010 All Rights Reserved
Motion Control Information System DNC (FBDN) - 04/10 Edition
05.07

Advertisement

Table of Contents
loading

Table of Contents