Viewing 15 posts - 1 through 15 (of 17 total)
i give example only..
how to insert two tables in single quarie ...like above
January 3, 2015 at 11:45 am
i want output like display fourthpart order
8-3-132/3
8-3-132/3
8-3-132/3
8-3-132/3
8-3-132/53
8-3-132/53
8-3-132/75
8-3-132/77A
8-3-132/77/A
8-3-132/77/A
March 15, 2014 at 9:37 am
using ur code
not display ordey
if my table like
3-2-10
3-2-100
3-2-11
3-2-3
3-2-33
3-2-4
using ur code display order o/p like
3-2-10
3-2-11
3-2-100
3-2-3
3-2-33
3-2-4
March 15, 2014 at 9:05 am
if houseno like 3-1-900 ,3-1-92/4 ,.......not display order
output like
3-1-900
3-1-92/4 hyd
3-1-99/7
using.......
WITH MyAddresses (HouseNo) AS ( -- meagre sample data set
SELECT '3-1-900' UNION ALL
SELECT '3-1-92/4 hyd' UNION ALL
SELECT '3-1-99/7'
)
SELECT a.*,...
December 20, 2013 at 4:15 am
if houseno like 3-1-900 ,3-1-92/4 ,.......not display order
output like
3-1-900
3-1-92/4 hyd
3-1-99/7
using.......
WITH MyAddresses (HouseNo) AS ( -- meagre sample data set
SELECT '3-1-900' UNION ALL
SELECT '3-1-92/4 hyd' UNION ALL
SELECT '3-1-99/7'
)
SELECT a.*,...
December 20, 2013 at 4:02 am
if ex - table like this below format using ur quarie not display order
WITH MyAddresses (HouseNo) AS ( -- meagre sample data set
SELECT '3-12-19 . HYDERABAD'...
December 20, 2013 at 3:37 am
k ..thanku
if house no like...
SELECT '3-4-53 . HYDERABAD' UNION ALL
SELECT '3-400-199/1.ASVV' UNION ALL
SELECT '3-49-vizag' UNION ALL
SELECT '3-53-22,nagar' UNION ALL
SELECT '4-5-1300.old colony' UNION ALL
SELECT '4-500-120' UNION ALL
SELECT '3-4-' UNION ALL
SELECT...
December 20, 2013 at 3:23 am
Thanks for replay ......
ur quarie is working ....... thank u sir
December 20, 2013 at 2:13 am
again it shows error like
Msg 537, Level 16, State 5, Line 1
Invalid length parameter passed to the LEFT or SUBSTRING function.
December 15, 2013 at 7:46 am
Thanks for Replay...........
but shows error
" Conversion failed when converting the varchar value '300,' to data type int. "
December 15, 2013 at 5:43 am
Thanks for replay ...but ur quarie is not work for above format
December 15, 2013 at 5:39 am
IT SHOWS ERROR
Conversion failed when converting the varchar value '1867 C' to data type int
December 7, 2013 at 6:42 am
the first method is ok but ..... it works only if housenumber is integer only ...
it shows error when housenumber mixed wit varchar .............
plz write the code if...
December 7, 2013 at 12:18 am
Msg 245, Level 16, State 1, Line 1
Conversion failed when converting the nvarchar value '17-280' to data type int.
December 6, 2013 at 11:52 pm
it shows error like
Msg 245, Level 16, State 1, Line 1
Conversion failed when converting the nvarchar value '17-280' to data type int.
December 6, 2013 at 11:51 pm
Viewing 15 posts - 1 through 15 (of 17 total)