Viewing 15 posts - 11,266 through 11,280 (of 15,376 total)
How do I fix this?
This isn't a java or flash site. Try a forum that is dedicated to to that. Your issue has absolutely nothing to do with sql server.
July 20, 2012 at 10:42 pm
CptCrusty1 (7/20/2012)
July 20, 2012 at 3:29 pm
This is an xml file that is used to define your report. If it doesn't save before you preview, the preview will look like it did the last time it...
July 20, 2012 at 3:06 pm
You could use APPLY but on a small dataset it isn't likely to make much (if any) difference. The execution plan is only slightly different than your subquery approach.
SELECT
CardID,
TranDate, x.MyRowCount
FROM...
July 20, 2012 at 2:55 pm
You can't really nest transaction like that.
Here is a very simple example of what happens.
Here I will create a proc called CrashSproc. This proc will do what it's name implies...
July 20, 2012 at 2:44 pm
Oops...
SELECT dbo.IIRPS_HPOO_LPAR.LPAR, SUM(MaxHeapSize) AS SumMaxHeapSize, COUNT(dbo.IIRPS_HPOO_IHS.LPAR) AS IHSInstances,
(SUM(MaxHeapSize) * 1.6) + (1024 * COUNT(dbo.IIRPS_HPOO_IHS.LPAR)) as OnlineMemoryCheck
FROM dbo.IIRPS_HPOO_IHS
inner join dbo.IIRPS_HPOO_LPAR on dbo.IIRPS_HPOO_LPAR.LPAR = dbo.IIRPS_HPOO_IHS.LPAR
inner join dbo.IIRPS_HPOO_JVM on dbo.IIRPS_HPOO_JVM.LPAR = dbo.IIRPS_HPOO_LPAR.LPAR
GROUP...
July 20, 2012 at 2:31 pm
You should be using HAVING in this case. http://msdn.microsoft.com/en-us/library/ms180199.aspx
SELECT dbo.IIRPS_HPOO_LPAR.LPAR, SUM(MaxHeapSize) AS SumMaxHeapSize, COUNT(dbo.IIRPS_HPOO_IHS.LPAR) AS IHSInstances
FROM dbo.IIRPS_HPOO_IHS
inner join dbo.IIRPS_HPOO_LPAR on dbo.IIRPS_HPOO_LPAR.LPAR = dbo.IIRPS_HPOO_IHS.LPAR
inner join dbo.IIRPS_HPOO_JVM on dbo.IIRPS_HPOO_JVM.LPAR = dbo.IIRPS_HPOO_LPAR.LPAR
GROUP...
July 20, 2012 at 2:26 pm
You're welcome. 😀
July 20, 2012 at 1:59 pm
You want to add a new column every day? Or do you want to change the default every day? Seems like it would be easier to do this in your...
July 20, 2012 at 12:45 pm
This thread should help. http://www.sqlservercentral.com/Forums/Topic1013558-146-1.aspx#bm1013569
July 20, 2012 at 12:42 pm
select *, OBJECT_NAME(fkeyid)
from sys.sysforeignkeys
where OBJECT_NAME(rkeyid) = 'YourMainTableHere'
DOH! Still using the deprecated version above....disregard and instead use this:
select *, OBJECT_NAME(parent_object_id)
from sys.foreign_key_columns
where OBJECT_NAME(referenced_object_id) = 'YourMainTableHere'
July 20, 2012 at 12:32 pm
L' Eomot Inversé (7/20/2012)
sestell1 (6/25/2012)
Does anyone know what...
July 20, 2012 at 11:13 am
Lynn Pettis (7/20/2012)
Okay, forget you getting frustrated, I'm frustrated. Just how many different threads do you need for the same problem????
Probably looks like their indexes...fragmented all over the place....
July 20, 2012 at 10:53 am
Duplicate post. Please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1332970-291-1.aspx
July 20, 2012 at 9:27 am
Viewing 15 posts - 11,266 through 11,280 (of 15,376 total)