Viewing 15 posts - 61 through 75 (of 2,006 total)
VeraCrypt[/url] is based on TrueCrypt. I was planning on moving to it at some point in the near future the flash drive I keep on my key-chain.
April 9, 2015 at 5:18 am
Something like: -
UPDATE a
SET ProductAmt = ISNULL(a.ProductAmt + CASE WHEN a.pos <> 1 THEN NULL
...
April 1, 2015 at 6:49 am
With no index, as in the sample data, here's a couple more options to add to your own, Ed's and Luis' :w00t:
SELECT a.num
FROM #letters a
CROSS APPLY...
March 26, 2015 at 10:25 am
thomashohner (3/25/2015)
SELECT TOP 26 CHAR(ROW_NUMBER() OVER(ORDER BY (SELECT NULL)) + 64) letter
FROM sys.all_columns
If you remove the CHAR function and the +64, you'll see it produces a set of numbers between...
March 25, 2015 at 9:46 am
mattech06 (3/24/2015)
I can see why I had the wrong LastVisitDesc using MAX as...
March 25, 2015 at 2:21 am
SSRS Newbie (3/24/2015)
Hi Cadavre,Below is the table for expected results and select query:
Thanks.
First, just to get the admin out of the way, I meant that I could do with the...
March 25, 2015 at 2:20 am
SSRS Newbie (3/24/2015)
I appreciate your response. This is exactly what I need but the future dates to show the same schedule Wednesday, Thursday and Friday. How can this be...
March 24, 2015 at 10:36 am
mattech06 (3/24/2015)
I've tried it without MAX for LastVisitDesc and putting it into...
March 24, 2015 at 9:59 am
Please note that I included some extra logic in there to stop your case statement from affecting rows that are "future". Could probably be cleaned up if someone wants...
March 24, 2015 at 9:53 am
Something like this?
SELECT j.DT_ID,
j.JobStatus /*O-Open, S-Shipped, I-Invoiced*/,
j.ExpectedDate 'Requested Delivery Date',
...
March 24, 2015 at 9:49 am
mattech06 (3/24/2015)
I've found this similar problem/solution but am unclear on how to apply to my codehttp://stackoverflow.com/questions/21254760/joining-with-max-date-from-table
That is doing the same thing as what has already been suggested, pretty much. ...
March 24, 2015 at 9:29 am
coool_sweet (3/24/2015)
ihave used IN in my query which i replace with join ,
and i am also using union all.
what should...
March 24, 2015 at 9:17 am
Did you try searching? I'd have thought that a quick Google search would've answered this question for you far quicker than waiting on a forum.
https://msdn.microsoft.com/en-us/library/ms174397.aspx
SELECT file_id,
...
March 24, 2015 at 9:05 am
Like Sean, I could do with more of a "code" explanation. I knocked up your post in to sample data, ready to play with: -
-- CREATE sample "__tt_Freight_Product"
IF object_id('tempdb..#__tt_Freight_Product')...
March 24, 2015 at 8:57 am
So that suggests that this is the condition you want on the apply
SELECT DISTINCT
p.dbPatID,
p.dbpatfirstname,
...
March 24, 2015 at 8:30 am
Viewing 15 posts - 61 through 75 (of 2,006 total)