Viewing 15 posts - 61 through 75 (of 76 total)
Dwain.C,
I modified the grp=0, to a -1 and + 1, seperately, and the query got me the result expected, even though it wasn't in seperate columns, which is fine.
SELECT LP,...
February 2, 2015 at 9:58 pm
Ok I read Jeff's article on http://www.sqlservercentral.com/articles/Tally+Table/72993/ and at first put the code in a seperate window and it didn't work, since i suppose the the #test table...
February 1, 2015 at 11:30 am
Hi Dwain,
I tried you're query but am getting the following error:
(2 row(s) affected)
Msg 208, Level 16, State 1, Line 4
Invalid object name 'DelimitedSplit8K'.
By the thanks for helping..its appreciate.
January 31, 2015 at 10:52 pm
Thanks GilaMonster. So it's not possible as is for a query to answer this problem? As I will have many data sets, in rows, so not possible to split sentences...
January 26, 2015 at 10:06 pm
Thanks ChrisM, this worked flawlessly. Now let me try to understand this.
Thank You Again.
January 26, 2015 at 10:05 pm
Thank you for your help thomashoner.
In the output, the
lp should only one instance each of
/
/catpage
/dogpage
and the kw column should have the corresponding words associated with the page
for...
January 25, 2015 at 11:44 am
Thanks Lynn, you'res was the easiest solution for me. I'll have to look into the others more. Thanks All!
April 21, 2013 at 7:55 am
dlangschied, great question.
I ran into same problem when learning sql when importing from excel.
Do this.
Look at column sql is reporting the error when importing.
Then go into excel, create a temporary...
March 1, 2013 at 11:10 pm
Thanks Jeff for englightening me on the benefit to the forum members of using create table / select/insert statements for readily consumable data. This is all new to me...
January 5, 2013 at 1:22 pm
After spending some time dabbling with this, I finally figured it out 🙂
it required adding several self joins to the from line such as
select color.[colors] + ' ' + itm.[items]...
December 28, 2012 at 4:56 pm
Hi Pirrot,
Excellent Question. I had exact same problem and recieved same error message. I spent about 3 hrs researching to finding the right resource to find the fix.
What you need...
December 25, 2012 at 7:37 pm
Ok here's my attempt...
select [Colors] + ' ' + [Items] +' ' + [Size] as 'Combined KW'
from [dbo].[MYDB] as KW
cross join [Colors] cross join [Items] cross join [Size]
i'm trying to...
December 24, 2012 at 6:17 pm
Hi John,
Yes I agree something wrong with that. I'm working with large data set, didn't even notice.
Anyways, I did read the link you posted on forum etiqutte so hopefully...
December 23, 2012 at 6:14 pm
Thanks for you're help Brian. That worked. I am now trying to show which IP's are used more than once, so I tried
select LEFT(127.0.0.1,len(127.0.0.1)-charindex('.',reverse(([Ip]))))
from tablename
group by 127.0.0.1
having count (127.0.0.1)>1
order...
November 18, 2012 at 11:18 pm
Viewing 15 posts - 61 through 75 (of 76 total)