Good Afternoon,
i am using elipse e3 and SQL Server 2014 Standard edition.
and now database is above 9GB.
whenever we fetching data from database scada will take much time and getting not responding .after data fetching it will get ok. and user get lots of breakdown due to this problem.
i am using this script (OnShow Event and Button)
DIM F_STR,L_STR,MYTOTQRY
DIM Mday,Mmonth,Myear,Mhour,Mminute,Msecond,StartDate,EndDate,MYP,MYT
F_STR = “”
L_STR = “”
StartDate = date
Mday = Day(StartDate)
Mmonth = Month(StartDate)
Myear = Year(StartDate)
Mhour = 07’Hour(StartDate)
Mminute = 15’Minute(StartDate)
Msecond = 00’Second(StartDate)
F_STR = Myear & “/” & Mmonth & “/” & Mday & " " & Mhour & “:” & Mminute & “:” & Msecond
Mday = Day(StartDate)
Mmonth = Month(StartDate)
Myear = Year(StartDate)
Mhour = 23’Hour(StartDate)
Mminute = 59’Minute(StartDate)
Msecond = 59’Second(StartDate)
L_STR = Myear & “/” & Mmonth & “/” & Mday & " " & Mhour & “:” & Mminute & “:” & Msecond
MyQry = “(E3TimeStamp >= '” & F_STR & “’ AND E3TimeStamp <= '” & L_STR & “’)”
Screen.Item(“E3Browser1”).Item(“Query1”).SetVariableValue “MyQry”,MyQry
Screen.Item(“E3Browser1”).Requery()
Please Help me…
thanks in advance…