Guest User

Untitled

a guest
Jun 22nd, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1.  
  2. C:\Documents and Settings\Terarecon\Desktop\DB>2
  3.  
  4. C:\Documents and Settings\Terarecon\Desktop\DB>osql -b -E -n -w 5000 -Q "INSERT
  5. INTO AqNETDB.dbo.remoteae select AEName, AETitle, HostName, IPaddress, Port, Lev
  6. el, Priority, Description from AqNETDBbackup.dbo.remoteae";
  7. Msg 208, Level 16, State 1, Server AQUARIUS, Line 1
  8. Invalid object name 'AqNETDBbackup.dbo.remoteae'.
  9.  
  10. C:\Documents and Settings\Terarecon\Desktop\DB>osql -b -E -n -w 5000 -Q "INSERT
  11. INTO AqNETDB.dbo.localae select AEName, AETitle, HostName, IPaddress, Port, Leve
  12. l, Priority, Description from AqNETDBbackup.dbo.localae where AETitle!='AUTOVOX'
  13. and AETitle!='AqNET_Local_00' and AETitle!=(select host_name()+'_AE')";
  14. Msg 208, Level 16, State 1, Server AQUARIUS, Line 1
  15. Invalid object name 'AqNETDBbackup.dbo.localae'.
  16.  
  17. C:\Documents and Settings\Terarecon\Desktop\DB>osql -b -E -n -w 5000 -Q "INSERT
  18. INTO AqNETDB.dbo.useraccount select Username, Password, HomeDir, LastName, Middl
  19. eName, FirstName, Title, Address, City, State, Zip, Country, Phone, Cell, Fax, P
  20. ager, Email, Status, Description, PwdExpireTime, LastLoginTime, RoamingProfile,
  21. LoginRetry, DomainID from AqNETDBbackup.dbo.useraccount where Username not in (
  22. 'scan','shared')";
  23. Msg 208, Level 16, State 1, Server AQUARIUS, Line 1
  24. Invalid object name 'AqNETDBbackup.dbo.useraccount'.
  25.  
  26. C:\Documents and Settings\Terarecon\Desktop\DB>osql -b -E -n -w 5000 -Q "INSERT
  27. INTO AqNETDB.dbo.UserGroup select DomainID, Name, Privilege, Description, SID fr
  28. om AqNETDBbackup.dbo.UserGroup where Name not in ('Administrators','regular','sh
  29. ared', 'AqNET_Public')";
  30. Msg 208, Level 16, State 1, Server AQUARIUS, Line 1
  31. Invalid object name 'AqNETDBbackup.dbo.UserGroup'.
  32.  
  33. C:\Documents and Settings\Terarecon\Desktop\DB>osql -b -E -n -w 5000 -Q "INSERT
  34. INTO AqNETDB.dbo.UserGroupRights select GroupID, RightsKeyID, RightsValueID from
  35. AqNETDBbackup.dbo.UserGroupRights where UserGroup.Name not in ('Administrators'
  36. ,'regular','shared', 'AqNET_Public')";
  37. Msg 208, Level 16, State 1, Server AQUARIUS, Line 1
  38. Invalid object name 'AqNETDBbackup.dbo.UserGroupRights'.
  39.  
  40. C:\Documents and Settings\Terarecon\Desktop\DB>osql -b -E -n -w 5000 -Q "UPDATE
  41. AqNETDB.dbo.useraccount SET password= (select password from AqNETDBbackup.dbo.us
  42. eraccount where Username='scan') where Username='scan'";
  43. Msg 208, Level 16, State 1, Server AQUARIUS, Line 1
  44. Invalid object name 'AqNETDBbackup.dbo.useraccount'.
  45.  
  46. C:\Documents and Settings\Terarecon\Desktop\DB>osql -b -E -n -w 5000 -Q "UPDATE
  47. AqNETDB.dbo.useraccount SET password= (select password from AqNETDBbackup.dbo.us
  48. eraccount where Username='shared') where Username='shared'";
  49. Msg 208, Level 16, State 1, Server AQUARIUS, Line 1
  50. Invalid object name 'AqNETDBbackup.dbo.useraccount'.
  51.  
  52. C:\Documents and Settings\Terarecon\Desktop\DB>
Add Comment
Please, Sign In to add comment