Advertisement
Guest User

Untitled

a guest
May 29th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 1.11 KB | None | 0 0
  1. USE users
  2. go
  3.  
  4. --run tables/DeviceConfiguration.sql script
  5.  
  6. --move contents of mm905 table into DeviceConfiguration.
  7.  
  8. SELECT
  9.         ipAddressNumber,
  10.         destIpAddress,
  11.         destPort,
  12.         exceptionTiming,
  13.         stillTiming,
  14.         movingTiming,
  15.         ignitionHours,
  16.         stoppedTiming,
  17.         voltageThreshold,
  18.         rssiThreshold,
  19.         minSpeed,
  20.         coldTempProbe1,
  21.         hotTempProbe1,
  22.         coldTempProbe2,
  23.         hotTempProbe2,
  24.         readTimeSw1,
  25.         readTimeSw2,
  26.         readTimeSw3,
  27.         readTimeSw4,
  28.         readTimeSw5,
  29.         readTimeSw6,
  30.         readTimeSw7,
  31.         readTimeSw8,
  32.         inputSwExceptions,
  33.         miscIOExceptions,
  34.         output1,
  35.         output2,
  36.         output3,
  37.         output4,
  38.         swRev,
  39.         hwRev,
  40.         gpsFirmwareRev
  41.         gpsType,
  42.         iButtonConfigOptions,
  43.         iButtonOutput1,
  44.         iButtonOutput2,
  45.         timingCmdUpdate,
  46.         temperatureCmdUpdate,
  47.         ioCmdUpdate,
  48.         revisionCmdUpdate
  49. INTO dbo.DeviceConfiguration
  50. FROM dbo.mm905
  51. WHERE ipaddressnumber IS not null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement