Question : RAM Reports different sizes.

Microsoft Server 08 x32 SP2 Enterprise (fully up to date)
I have a server that has 16Gb of RAM, however...in the task manager, and resource monitor are showing as only 3 gigs.

When trying to change the page file size to something larger, we can't.
Under Performance Options --> Advanced shows as the total paging size for all drives as 3366MB,  Anything larger than 4096MB reports the following error.

"Enter a maximum page file size that is greater than or equal to the initial page file size, and less than 4096mb"

http://img706.imageshack.us/i/ss1mg.png/
http://img51.imageshack.us/i/ss2qc.png/
http://img651.imageshack.us/i/ss3fv.png/
http://img709.imageshack.us/i/ss4eo.png/  

Answer : RAM Reports different sizes.

Try this:


-Greg
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
With SUB_TABLE as (
SELECT 
	ID, FIRST_NAME, LAST_NAME, 
	MAX(CASE WHEN RN = 1 THEN ADDRESS ELSE NULL END) AS ADDRESS1,
	MAX(CASE WHEN RN = 2 THEN ADDRESS ELSE NULL END) AS ADDRESS2,	
	MAX(CASE WHEN RN = 3 THEN ADDRESS ELSE NULL END) AS ADDRESS3,	
	MAX(CASE WHEN RN = 4 THEN ADDRESS ELSE NULL END) AS ADDRESS4,		
	MAX(CASE WHEN RN = 1 THEN PHONE_NO ELSE NULL END) AS PHONE1,
	MAX(CASE WHEN RN = 2 THEN PHONE_NO ELSE NULL END) AS PHONE2,	
	MAX(CASE WHEN RN = 3 THEN PHONE_NO ELSE NULL END) AS PHONE3,
	MAX(CASE WHEN RN = 4 THEN PHONE_NO ELSE NULL END) AS PHONE4,	
	MAX(CASE WHEN RN = 1 THEN CELL_NO ELSE NULL END) AS CELL1,	
	MAX(CASE WHEN RN = 2 THEN CELL_NO ELSE NULL END) AS CELL2,	
	MAX(CASE WHEN RN = 3 THEN CELL_NO ELSE NULL END) AS CELL3,	
	MAX(CASE WHEN RN = 4 THEN CELL_NO ELSE NULL END) AS CELL4	
FROM 
	(
	SELECT 
		ID, FIRST_NAME, LAST_NAME, ADDRESS, PHONE_NO, CELL_NO, 
		ROW_NUMBER() OVER(PARTITION BY ID ORDER BY ADDRESS DESC,PHONE_NO DESC,CELL_NO DESC) AS RN
	FROM 
		YOUR_TABLE
	) AS T
GROUP BY ID, FIRST_NAME, LAST_NAME
)
Select distinct (*)
from SUB_TABLE
Random Solutions  
 
programming4us programming4us