Viewing 15 posts - 16 through 30 (of 236 total)
I found a way, but I'm having trouble getting it to work.
DECLARE @nvQueryRemote nvarchar(MAX)
DECLARE @nvQueryLocal nvarchar(MAX)
SET @nvQueryRemote = N'SET FMTONLY ON; EXEC iERP81GA_LIVE.vmfg.uspGetAllLocSalesOrder'
SET @nvQueryLocal = N'SELECT * FROM OPENROWSET(''SQLOLEDB'', ''SERVER=(local);Trusted_Connection=Yes'',
...
September 16, 2010 at 9:04 am
I'm glad I'm not the only one. Immediately after typing this email, I did it four times on the same field (a four-word heading). It just sucks that...
September 9, 2010 at 12:45 pm
j_e_o: I don't think this is always the case. You might need to find a different job. I'm actually really happy with my work/life balance, and I've...
September 2, 2010 at 9:32 am
I actually do the same thing with my data warehouse, having seperate keys for N/A and Unknown. If there really wasn't a part sold on an order line, then...
August 30, 2010 at 12:41 pm
It's as they say: no matter how good a thing is, there is always such a thing as too much of it.
August 30, 2010 at 11:34 am
There is always a time and place for NULLs. Think "Address Line 2" type fields. Chances are, the value in those type of fields are NULL more often...
August 30, 2010 at 11:25 am
I swear this worked at one point in time, but for some reason it doesn't now. I never used it directly, so it just ended up in code base...
August 27, 2010 at 2:03 pm
Michael Valentine Jones (8/26/2010)
August 26, 2010 at 12:06 pm
We really are in the business of "soft" benefits. It may be difficult to analyze the benefit of changes like you said, but we've generally got a good feeling...
August 26, 2010 at 8:33 am
Didn't you ask if it could be done in one SELECT statement? I agree that I would stay away for the WHILE statement if for no other reason than...
August 26, 2010 at 7:47 am
Alright. I use a script to drop/recreate that table every day anyways. I'll just modify it to the new filegroup, and let it do all the leg work...
August 25, 2010 at 12:53 pm
Beautiful. Thanks.
One question. All the examples I'm finding online of "MOVE TO" assume that the PK and clustered index are one in the same. That's fine for...
August 25, 2010 at 12:40 pm
I did this once for a 1-column report (long list of parts), which I actually displayed as 10 rows across. I did this by adding two fields to the...
August 25, 2010 at 12:15 pm
The preferred way would be to use a tally table.
; WITH
t1 AS (SELECT 1 N UNION ALL SELECT 1 N), -- 4
t2 AS (SELECT 1 N FROM...
August 25, 2010 at 10:59 am
As a systems/business analyst, my job borders on accounting a little more than I like sometimes. Every aspect of my job is financial: my time has a very real...
August 25, 2010 at 8:29 am
Viewing 15 posts - 16 through 30 (of 236 total)