Home | Download | Demo | Feature list | Premium users | Support | Knowledgebase
How to fix WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
The network path was not found - The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
How to configure Windows Vista clients.
How to configure the windows firewall using group policies.
   
Welcome Guest Search | Active Topics | Members | Log In | Register

Syntax for report txt sql or other scripts Options
Lansweeper
Posted: Tuesday, January 29, 2008 6:24:44 PM

Rank: Administration
Groups: Administration

Joined: 2/10/2005
Posts: 1,560
Location: Hamme Belgium
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     (...)
Users browsing this topic
Guest


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.


Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.

   
Quick links: Download - Premium users - Support 
Copyright 2004 - 2008 © Geert Moernaut - Hemoco bvba - All rights reserved