Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Help & Support
»
Use custom query to connect to MS SQL Server
Use custom query to connect to MS SQL Server
Post Reply
Like
4
Use custom query to connect to MS SQL Server
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
dicetube
dicetube
posted 2 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 6,
Visits: 6
Is there a way to use a custom query when connecting to SQL server? For example if we wanted to use a query to pull together a more succint view of the SQL Server agent job history rather than just grabbing the msdb.dbo.sysjobs_view table only.
Reply
Like
4
LogViewPlus Support
LogViewPlus Support
posted 2 Years Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
You cannot write a full query, but you can add a condition to the lookup query. In the Open Log File dialog, you should see a Condition field. The value added here will be appended to a WHERE clause. For example, if I was only interested in records written by 'Graph' loggers, I could use a 'like' condition:
Hope that helps,
Toby
Edited
2 Years Ago by
LogViewPlus Support
Reply
Like
5
dicetube
dicetube
posted 2 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 6,
Visits: 6
OK, thanks. I will look into that
Reply
Like
4
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
4
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search