Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Syntax for report txt sql or other scripts
Lansweeper
#1 Posted : Tuesday, January 29, 2008 6:24:44 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,007
The sql script editor is not fully compliant with OSQL but these extra syntax words can be used :

' to make a comment

GO = to execute the previous query

sample report:
Code:

' This is a sample report
' Always start the name of your views with "web30rep"

'Create the view

CREATE VIEW dbo.web30rep...
AS
SELECT ...

GO

'Add the view to the reports table

INSERT INTO ...

GO

'Add the report to the reports page

INSERT INTO ... VALUES     (...)
fahdp
#2 Posted : Thursday, July 30, 2009 3:51:59 PM
Rank: Freeware user

Groups: Member
Posts: 9
ok thanks. I managed to add the viw in SQL as a dbo.web30noConfickerPatch but cant seem to find how to add it to the dashboard.

Im no genuis at SQL so probably doing something wrong.
Lansweeper
#3 Posted : Thursday, July 30, 2009 3:56:10 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,007
After you have done this you need to add it to the table tsysreports.
Afterwards you can use lsmanage to place it on the dashboard.
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba