Viewing 15 posts - 301 through 315 (of 1,228 total)
Each one of your five current threads
select quarie between houseno ..........
select only up to first '-' only
display order by like 1,2,3,4,5...............plz write quarie
relate to...
December 15, 2013 at 11:07 am
Each one of your five current threads
select quarie between houseno ..........
select only up to first '-' only
display order by like 1,2,3,4,5...............plz write quarie
relate to...
December 15, 2013 at 11:06 am
shashianireddy (12/15/2013)
i have table like belowHouse_No
4-12-1000
4-12-55/b
4-12-1456/b/c
4-12-12
4-12-1398
4-12-23
4-12-98
4-12-1499
1-4-33
3-9-55
2-5-89/3
Each one of your five current threads
select quarie between houseno ..........
December 15, 2013 at 11:05 am
bkshn (12/14/2013)
HelloI think I use it in from statement
FROM exhibitor.dbo.maintable INNER JOIN #temp1
isn't it?
There's quite a lot wrong with your statement. Here's a brief analysis:
declare @string nvarchar(MAX)
declare ...
December 14, 2013 at 6:18 am
SELECT x.*
FROM TableA
CROSS APPLY (
SELECT cust, SUBSTRING(wptext, 1, 80), 1 UNION ALL
SELECT cust, SUBSTRING(wptext, 81, 80), 2 UNION ALL
SELECT cust, SUBSTRING(wptext, 161, 80), 3 UNION ALL
SELECT cust,...
December 11, 2013 at 11:06 am
shashianireddy (12/7/2013)
it shows error when housenumber mixed wit varchar .............
plz write the code...
December 7, 2013 at 3:09 am
Jeff Moden (11/5/2013)
Phil Parkin (11/5/2013)
Dwain does it again - nice article sir!Ditto that! Nicely done, Dwain. Great explanations and revelation of code.
I'll second that - and give credit where...
November 6, 2013 at 1:48 am
elham_azizi_62 (11/5/2013)
I need to use nested cursor for 5000 record,but it doesn't work correctly and stoped.what is the best way instead of using cursor when we have lots of...
November 5, 2013 at 3:17 am
Thanks Dwain for another informative and well-written article. It wouldn't surprise me if the discussion provoked a significant rewrite with more use cases, based on posts so far.
October 29, 2013 at 6:39 am
adnan.korkmaz (10/28/2013)
Nice comparison.On the other hand, it could be better to see physical table performance comparison instead of / in addition to temporary tables.
There's unlikely to be much difference.
October 29, 2013 at 6:31 am
Sean Pearce (10/10/2013)
/* ON THE SERVER phlsql */CREATE PROCEDURE dbo.FetchData
AS
SELECT sam_batch, SUBSTRING(sam_phonenumber, 4, 9) AS phone
FROM capabilities.dbo.aww_sample
WHERE sam_batch BETWEEN 437 AND 449;
GO
/* ON THE SERVER p42 */
CREATE TABLE #Results (sam_batch...
October 10, 2013 at 7:04 am
paulcauchon (9/13/2013)
ChrisM@Work (9/13/2013)
Paul - if you order the output by AutoID, it all becomes clear. There's a description of how the method works here[/url]. The inventor, as far as I...
September 26, 2013 at 6:48 am
paulcauchon (9/12/2013)
Originally, we had been treating the grouping...
September 12, 2013 at 2:07 pm
SQLTestUser (9/12/2013)
The relationship stems through the Associated Table so the associated table has the corresponding values for the first table. Did that answer your question ?
Not really, it's too vague....
September 12, 2013 at 1:54 pm
Viewing 15 posts - 301 through 315 (of 1,228 total)