Viewing 5 posts - 1 through 5 (of 5 total)
This is probably the only way to perform this (here’s another challenge for you: can you do this WITHOUT using a CTE?).
Why not use the tally table technique? I...
April 20, 2015 at 4:57 am
@david.Andrews.
Not that this really helps but..
The MSDN entry for the TRY_CONVERT function (http://technet.microsoft.com/en-us/library/hh230993(v=sql.110).aspx) has the remarks "TRY_CONVERT is a new keyword in compatibility level 110"...
November 21, 2014 at 6:39 am
Ah yes, that could be handy. LAG/LEAD would be useful too (access the previous/next records values) just a shame my company is still on SQL server 2008
November 21, 2014 at 4:48 am
Going to have to look into LAG/LEAD and CONCAT/FORMAT but from that list, I use APPLY a lot. If you tend be using loops a lot, look into tally tables,...
November 21, 2014 at 2:27 am
I couldn't find a solution to this, so I used a work around:
CREATE PROCEDURE [stp_testsymbol]
AS
SELECT 'This is the ' + CHAR(163) + ' symbol';
🙂
March 6, 2014 at 5:52 am
Viewing 5 posts - 1 through 5 (of 5 total)