- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Error in database.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 06:52 PM
01-24-2005 06:52 PM
Error in database.
I think exists a database error because the notice_view has: .....and noticetype.noticetype=stringresource.subclass??? a string=integer???
What do you think??
Thanks & best regards,
Jose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 11:16 PM
01-24-2005 11:16 PM
Re: Error in database.
The error message is:
Detalles: 22018:[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the varchar value 'Insight.DiscoveredDevice ' to a column of data type int.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 11:28 PM
01-24-2005 11:28 PM
Re: Error in database.
By the moment, I have to enter to resolve the problem ()
...
and cast(notices.NoticeType as varchar)=stringResource.ResourceName
....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 12:43 AM
01-27-2005 12:43 AM
Re: Error in database.
ALTER VIEW notices_view AS (
select devices.Name as 'Device Name',
'Severity' = case when noticeSeverity=100 then 'Informational' when noticeSeverity = 1 then 'Normal' when noticeSeverity=2 then 'Warning' when noticeSeverity=3 then 'Minor' when noticeSeverity=4 then 'Major' when noticeSeverity=5 then 'Critical' else convert(char(10), noticeSeverity) end,
'state' = case when state=1 then 'Discovered' when state=2 then 'Not Cleared' when state = 5 then 'Cleared' when state = 6 then 'IN Progress' end,
generated, cleared, largeValue as Description from notices,
noticeType, devices, stringresource, stringtablelarge
where notices.noticeType = noticeType.noticeType and
notices.deviceKey = devices.deviceKey and
stringresource.resourceclassname='Alerttype' and
stringresource.subclass='description' and
noticeType.TypeIdStr=stringresource.resourceName and
stringtablelarge.id = stringresource.id
and stringTableLarge.language = 'en'
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 01:58 AM
01-27-2005 01:58 AM
Re: Error in database.
I have made a little probe: (I have uncleared 267 events: 25 Critical, 43 Major, 46 Minor and 153 Warnings).
If i try to obtain the "description" field with your query, I obtain 208 events, but if I try to obtain the "description" field with this query, I obtain 267). Do you know why?
select notices.NoticeId, notices.NoticeSeverity, notices.Generated, devices.FullDNSName, devices.Name, devices.ProductName, devices.ProductSubType, devices.ProductTypeStr, notices.AssignedTo, notices.Comments, noticeType.TypeIdStr, noticeType.Category, noticeType.DispHandler, stringTableLarge.largeValue
from notices, noticeType, devices, stringResource, stringTableLarge
where ((notices.DeviceKey = devices.Devicekey)
and (notices.NoticeType = noticeType.NoticeType)
and (notices.NoticeSeverity<>100)
and (notices.State=2)
and (stringTableLarge.Language = 'en')
and stringResource.SubClass='description'
and cast(notices.NoticeType as varchar)=stringResource.ResourceName
and (stringTableLarge.id = stringResource.id))
By other hand, do you know the difference between "description" and "label"?
Thanks for your interest.