Viewing 15 posts - 856 through 870 (of 3,957 total)
HowardW (1/24/2014)
Lynn Pettis (1/24/2014)
Has anyone else ever heard that it is a best practice to have enough server memory to hold your entire database in memory?
No, but I've heard plenty...
January 24, 2014 at 6:03 pm
phingers (1/24/2014)
January 24, 2014 at 12:52 am
xsevensinzx (1/23/2014)
The problem with Unit Testing is that it can be very time consuming for the developer or engineer. Some down prioritize or only unit test in fragments. Where a...
January 23, 2014 at 10:21 pm
phingers (1/23/2014)
WITH CTE_rownr
AS (
SELECT extractdate
, dwPalletId
, szPalletNumber
, dwFormsetIdFK
, SUM(quantity) as quantity
, ROW_NUMBER() OVER (
PARTITION BY dwPalletId ORDER BY dwPalletId
, extractdate
) AS...
January 23, 2014 at 5:26 pm
aberndt (1/23/2014)
January 23, 2014 at 5:19 pm
You might want to take a look at the following article:
How to Design, Build and Test a Dynamic Search Stored Procedure [/url]
Part of the process described therein is how I...
January 23, 2014 at 5:15 pm
xsevensinzx (1/23/2014)
January 23, 2014 at 5:04 pm
Tom Bakerman (1/23/2014)
Thanks guys. Cross Apply did the trick. I seem to have a block on that; it just never occurs to me to use Cross Apply.Cheers,
Tom
You might...
January 23, 2014 at 5:02 pm
Please don't cross-post. It only confuses people and fragments your answers.
No replies to this thread please. Post your replies here:
http://www.sqlservercentral.com/Forums/Topic1533586-392-1.aspx
January 22, 2014 at 5:40 pm
If Keith's solution won't work for you, this looks like something I covered in my first SSC article:
January 22, 2014 at 5:35 pm
below86 (1/22/2014)
Misha_SQL (1/22/2014)
January 22, 2014 at 5:15 pm
Try this:
UPDATE s
SET ClosePrice = ClosePrice * ISNULL(EXP(so) / EXP(si), 1)
FROM @StockPrice s
CROSS APPLY
(
SELECT SUM(LOG(ShareIn)), SUM(LOG(ShareOut))
...
January 22, 2014 at 5:02 pm
Wendy,
I think what you want to do is something like this.
-- Create the type for your db
CREATE TYPE dbo.avar AS TABLE
(
avar VARCHAR(3)
);
GO
-- Locally, you can...
January 21, 2014 at 10:10 pm
So, I fixed the issue with the in-line Tally tables generating different row counts (they all now return 101 rows) and each of the following 5 queries returns the exact...
January 21, 2014 at 9:38 pm
dwain.c (1/21/2014)
Here's how to use LAG to get the Beginning Balance (from...
January 21, 2014 at 8:57 pm
Viewing 15 posts - 856 through 870 (of 3,957 total)