Viewing 15 posts - 271 through 285 (of 1,192 total)
If you look at the execution plan, you'll see that SQL converts the IN list into multiple OR conditions, so there's no difference.
November 14, 2014 at 3:37 am
Luis Cazares (11/13/2014)
Gazareth (11/13/2014)
=StrConv(Fields!FieldName.Value,vbProperCase)
Note there's a Reporting Services section further down the page where you'll have more luck with VB,...
November 14, 2014 at 2:15 am
faulknerwilliam2 (11/13/2014)
Thanks Gazareth, that solution worked perfectly. Also thanks for the tip re the correct forum.
No problem. Of course, if you're interested in learning T-SQL, this is definitely the right...
November 14, 2014 at 2:14 am
Presuming from your other post you're looking for a VB answer:
=StrConv(Fields!FieldName.Value,vbProperCase)
Note there's a Reporting Services section further down the page where you'll have more luck with VB, anything you post...
November 13, 2014 at 10:03 am
Can't remember if the AND will work, you may need nested IIF functions, so one of these should work:
=IIF(fields!addressline1.Value < "," AND fields!postcode.value < ",", "No Details", Fields!addressline1.Value)
or
=IIF(fields!addressline1.Value <...
November 13, 2014 at 9:51 am
I actually encountered this exact behaviour last weekend. Got me a bit worried!
My explanation would be that the CTE is never materialised as such, so the rn value is never...
November 6, 2014 at 11:19 am
Powershell sounds good for this. You'll need to install SQLPS module, and then simply (NB - pseudocode):
Invoke-SqlCmd -ServerInstance servername -Database dbname -Query "EXEC proc" | Export-Csv filename.csv
or
Invoke-SqlCmd -ServerInstance servername -Database...
November 6, 2014 at 6:33 am
Adam Bean (11/5/2014)
I checked my environment variable path and it contains entries for all versions.
Try putting the SQL 2014 path before the other SQL paths in the environment variable?
November 6, 2014 at 6:18 am
Ed Wagner (11/4/2014)
Steve Jones - SSC Editor (11/4/2014)
We made a few forum changes today. If you notice something, let us know.
I don't want to condemn the updates to failure or...
November 6, 2014 at 4:38 am
TomThomson (11/6/2014)
It raises an issue about the quality of this wizard: why on earth doesn't it read metadata for the target table and set lengths accordingly? It...
November 6, 2014 at 4:36 am
Hire two temps for a week & give them 5,000 addresses each to go through 🙂
November 5, 2014 at 6:14 am
Just use the exists in a case statement:
select *, case when exists(select * from dimFacts df2 where df2.lead_id = df.lead_id and df2.referrals = 1 and df.moves = 1 and df2.date_value...
November 5, 2014 at 6:04 am
Hi, and welcome to SSC.
You should record the price in both places; while it may seem like redundant data they're actually separate attributes - one's the list price and the...
November 3, 2014 at 9:53 am
happycat59 (10/30/2014)
Steve Jones - SSC Editor (10/6/2014)
October 31, 2014 at 9:22 am
Viewing 15 posts - 271 through 285 (of 1,192 total)