
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2009 05:00 PM
Strangely enough, overnight, the list order in this view seems to have changed overnight and is unsorted. Clicking on the Computer column header resorts, but navigating to a secondaary view and then "back", the list is unsorted again. Any ideas?
Labels:
- Labels:
-
Archive
7 REPLIES 7

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2009 10:22 PM
The list was never sorted by default.
It must have been a coincidence that it looked sorted.
It must have been a coincidence that it looked sorted.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2009 07:55 PM
Seems to have fixed it! Not being much of a dba, what did we correct? What was out-of-whack?
Thanks
Thanks

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2009 11:53 AM
try this sql code:
ALTER PROCEDURE dbo.Web30computers
(@domain varchar(80))
AS SELECT dbo.tblComputers.Computername, ISNULL(dbo.tblOperatingsystem.Description, '') AS thedescription, dbo.tblOperatingsystem.Caption AS OS,
CASE ISNULL(dbo.tblOperatingsystem.Description, 'NOT SCANNED') WHEN 'NOT SCANNED' THEN 1 ELSE 0 END AS Notscanned,
CAST(dbo.web30ProcessorCapacity.NrOfProcessors AS varchar) + ' * ' + CAST(dbo.web30ProcessorCapacity.MaxClockSpeed AS varchar)
+ ' Mhz' AS Processor, CAST(CAST(CAST(dbo.tblComputersystem.TotalPhysicalMemory AS bigint) / 1024 / 1024 AS NUMERIC) AS varchar)
+ ' KB' AS Memory, dbo.tblComputers.Lastseen, dbo.tblComputers.LastknownIP, dbo.web30repallcompstates.Thestate
FROM dbo.tblComputers INNER JOIN
dbo.web30repallcompstates ON dbo.tblComputers.Computername = dbo.web30repallcompstates.Computername LEFT OUTER JOIN
dbo.web30ProcessorCapacity ON dbo.tblComputers.Computername = dbo.web30ProcessorCapacity.Computername LEFT OUTER JOIN
dbo.tblComputersystem ON dbo.tblComputers.Computername = dbo.tblComputersystem.Computername LEFT OUTER JOIN
dbo.tblOperatingsystem ON dbo.tblComputers.Computername = dbo.tblOperatingsystem.Computername
WHERE (dbo.tblComputers.Domain LIKE @domain)
ORDER BY dbo.tblComputers.Computername

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2009 08:54 PM
I attached a screenshot but it appears early in this post. As stated earlier, if I click on the column header, the column wiill sort "almost" in alphabetical order, but when navigating to any link on the pagre and then back, the view is returned to its original out of order sequence

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2009 07:28 PM
Which view has this problem (please post a screenshot if possible)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2009 06:36 PM
There were no SQL updates nor security updates applied!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2009 05:21 PM
Something must have happened.
Maybe security updates on your sql server?
Maybe security updates on your sql server?
