Viewing 15 posts - 61 through 75 (of 226 total)
looks like there is high activity is going on that database. Try running this when no users are connected.
May 17, 2006 at 3:16 pm
Yes, you can write a procedure to do. It should take around 1-2 hours to write.
Loop throught each database and then throught each table. Dynamically create sql statement to search...
May 17, 2006 at 9:41 am
Try this
SELECT
SUM(CASE WHEN Type = 0 THEN (SUM(NetSales)) ELSE (SUM(NetSales) * - 1) END)
FROM dbo.Orders
GROUP BY MONTH(InvoiceDate), YEAR(InvoiceDate), Type
HAVING (MONTH(InvoiceDate) = @MonthNo) AND (YEAR(InvoiceDate) = @YearNo)
May 16, 2006 at 3:32 pm
check files in this or similar folders
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG
May 16, 2006 at 12:03 pm
I do not think it is possible in 1 query. You will need a loop or temp table / variable to solve this
May 15, 2006 at 11:33 am
Thanks Mike
but what if they are just a dot and the size is not big enough to draw that kind of a line
May 12, 2006 at 11:28 am
As I mentioned in my solution we do not have a real good logical answer but after reading other answer LIKE , break the wall, smash the bulb , pull the...
May 12, 2006 at 11:04 am
I wish someone have an answer better than mine (looking for 'out of the box' )
May 11, 2006 at 5:33 pm
Steve
Just want to confirm is the answer logical or something stupid like
you switch on light switch for "room one" wait for 10 minutes , go to 2nd room switch on light switch...
May 11, 2006 at 5:03 pm
Link server may be the cause for slow performance
May 4, 2006 at 3:07 pm
If I am not mistaken. To make a parameter optional you have to pass a default value or NULL.
for example
Create proc ABC
(
@Parameter1 INT = NULL
)
May 3, 2006 at 3:53 pm
Well I still do not have an answer infact, now this scenario is working as an advantage for us
May 2, 2006 at 3:35 pm
Viewing 15 posts - 61 through 75 (of 226 total)