Viewing 15 posts - 91 through 105 (of 237 total)
Hi mister,
nope, the data is not consistent.
Hi WayneS,
thank you so much for working query. I am curious to learn about cross apply used here. I will play with that. Appreciated...
July 28, 2015 at 6:12 pm
thanks Steve and to avoid & charecter issue, slightly modified your query. Thanks for your base query
SELECT
t1.zipcode,
t1.State,
t1.City,
STUFF(t2.[Name],1,1,'') AS [Name]
FROM
(SELECT DISTINCT zipCode, [State], City FROM @table) t1
CROSS APPLY
(
SELECT
(
SELECT ',' + [Name]
FROM...
July 24, 2015 at 4:12 pm
Hi Gail,
When i see the table structure and question, i am also confused with the same questions. i still didn't get authorization to see the data. I am...
July 15, 2015 at 7:28 am
Hi Eirik,
this is the structure i could see. I don't see any indices. any query please
July 15, 2015 at 4:40 am
Thank you guys. I figured out and adding a condition to drew's code worked for me.
much appreciated for your time.
June 10, 2015 at 11:33 am
Hi Drew/Sumngson,
thanks for your response. once condition is missed on your query. If the offer is not available at company level then we need to check on client level based...
June 9, 2015 at 7:07 pm
I have created months table. trying with charindex but no idea how to move forward. would you like to help me in this please
May 7, 2015 at 9:23 am
Hey sean,
Thanks for your reply, i am sorry that i misspelled. it is 3 char month. JAN/FEB/MAR/APR/MAY/JUN...
Any thought/ sample pelase
May 7, 2015 at 8:59 am
Wonderful. thank you so much. i will work with my real data and post back to you in case of any tricky situation. much appreciated.
May 3, 2015 at 10:53 am
Hi Eirik,
appreciated your time and wonderful help. My ultimate goal is to clean up the address field. address field should only have the address. Any thoughts please.
May 3, 2015 at 5:41 am
Hi Eirik,
thanks for your time on this, please assume that i have city,state,zip in a separate table called tbl_city_state. please proceed with your suggestion/sample based on tbl_city_state table
thanks
May 2, 2015 at 7:54 pm
Hey Guys,
thanks for your reply.
I Eirik,
before i though of posting on this forum, i thought about using Jeff's delimit function what you have suggested. But i am sorry that i...
May 1, 2015 at 7:49 pm
Thanks Eirik for the reply.
My thought is that the cost of explicitly/implicitly creating a temp table and populating it by far outweighs the cost of running the query twice (or...
February 23, 2015 at 8:52 am
Viewing 15 posts - 91 through 105 (of 237 total)