Viewing 15 posts - 2,521 through 2,535 (of 13,462 total)
good start Knives;
so here's my same query, with your updated data in it;
so if you run this and look at the data, does it produce the desired results?
code]
;WITH
TENS...
February 11, 2014 at 2:25 pm
can you convert that into a CTE or insert statemetns, the way i did?
February 11, 2014 at 12:27 pm
Knives85 (2/11/2014)
The code you posted I...
February 11, 2014 at 11:45 am
took me a bit for this one; this seems to do the whole shebang
;WITH
TENS (N) AS (SELECT 0 UNION ALL SELECT 0 UNION ALL...
February 11, 2014 at 10:31 am
i slapped together a TSQL way to script out a table , so something like this might help; you'll run into issues if the generated scripts are not in foreign...
February 11, 2014 at 10:18 am
well i've only done one piece of it...adding the date;
i have a simple macro i use to dump typical copy/paste data and turn it into a CTE, so coming up...
February 11, 2014 at 10:00 am
I agree with Welsh Corgi; this sounds like a one time comparison, so there's no real need to add a linked server.
I would use the Import wizard, just has Welsh...
February 11, 2014 at 9:18 am
yep , a tally table, combined with a dateadd seems to be what you are after.
I just put together an example, but you'd use your own tally table, and...
February 11, 2014 at 9:07 am
don't get caught up staring at the percentages; they have to add up to 100, so just because something is 75% doesn't mean it's bad, it just means that's where...
February 11, 2014 at 8:09 am
no; since the leading edge of the first index has the same column, you don't need another index;
if there are WHERE statments on ColumnB only, then an idnex on just...
February 11, 2014 at 7:47 am
one record at a time?!?!
can you show the code for the procedure? does it have a cursor? are there triggers ont he destination table? does the trigger have cursors?
lots of...
February 11, 2014 at 7:44 am
rajborntodare (2/10/2014)
people having one record per person per each month.
how to get a list of the guys having record...
February 10, 2014 at 2:58 pm
the log does not save the commands that were executed, only the data that actually changed.
you'd want to start using a trace or extended events to capture commands in the...
February 10, 2014 at 2:09 pm
something like this would give you the count that meets your condition, as well as the total count for a total
does this help?
SELECT
SUM(CASE
...
February 10, 2014 at 1:44 pm
the key for the install of the AccessDatabaseEngine_x64.exe from microsoft is there's a /passive parameter to install the 64 bit regardless of whether the 32 bit was...
February 10, 2014 at 12:52 pm
Viewing 15 posts - 2,521 through 2,535 (of 13,462 total)