Viewing 15 posts - 421 through 435 (of 499 total)
Note that sys.dm_db_index_usage_stats only returns stats from the last time the server was started. Just because an index hasn't been used since start up doesn't mean it is...
November 13, 2014 at 7:33 am
Try:
UPDATE dbo.TableA
SET sysReturndate_Current = DATEADD(qq, 1, ReturnDate)
WHERE CurrentRecord = 1 AND Frequency = 'Quarterly' AND ReturnDate IS NOT NULL;
November 10, 2014 at 12:43 pm
Since Express and Compact only support Subscriber access for replication, you'll need a third database that supports publish. both express and compact could then subscribe to the third db
November 10, 2014 at 12:08 pm
If you can't use a linked server you'll need to use OPENROWSET instead.
November 10, 2014 at 11:55 am
Phil is correct. You should be able to do this in a Derived Column transformation. The expressions are quite powerful.
November 10, 2014 at 11:54 am
fwiw I bought a dev edition for my own lab. I asked MS about licensing for other machines in my lab. The answer is that I can install...
November 10, 2014 at 10:14 am
dwain.c (11/6/2014)
How's this on your eyes?
declare @howmany int = 50;
with n1(n) as (select $ from (values ($),($),($),($),($),($),($),($),($),($)) n(n)),
n2(n) as (select $...
November 7, 2014 at 8:36 am
Just thought I add my minimalist CTE-based tally table generator:
declare @howmany int = 50;
with n1(n) as (select 1 from (values (1),(1),(1),(1),(1),(1),(1),(1),(1),(1)) n(n)),
...
November 6, 2014 at 2:01 pm
Good observation, though the output becomes misleading. I never doubted that the "right" row was deleted. I just found the results from the output clause to be confusing....
November 6, 2014 at 10:53 am
well, isn't that interesting!
Don't know about the "should be done" bit though. My version doesn't need a self-join. It's just weird that SQL loses track of what it...
November 6, 2014 at 9:53 am
yes, of course, but with those caveats it should still be useful
Edit: I'm wrong. It can't be used in the way I imagined.
e.g. try to find hrefs in...
November 6, 2014 at 8:32 am
Phil Parkin (11/6/2014)
I presume this is just an 'out of interest' type question, because when you're deleting exact duplicates from a heap, there is no real row number?
The row...
November 6, 2014 at 8:31 am
Alan.B (11/5/2014)
g.britton (11/5/2014)
Luis Cazares (11/5/2014)
Note that those functions aren't intended for multi-character delimiters.
Well....a multi-character delimiter is just a simple pattern without wildcards. So even though that's not the...
November 6, 2014 at 7:56 am
Luis Cazares (11/5/2014)
Note that those functions aren't intended for multi-character delimiters.
Well....a multi-character delimiter is just a simple pattern without wildcards. So even though that's not the design goal, it...
November 5, 2014 at 10:32 am
Found it here:
http://www.sqlservercentral.com/articles/String+Manipulation/94365/
Silly me, I was searching for "multi-character delimiters" Had I searched for "patterns" I would have hit it right away!
November 5, 2014 at 7:46 am
Viewing 15 posts - 421 through 435 (of 499 total)