Viewing 15 posts - 15,061 through 15,075 (of 15,381 total)
Check out the article here. The _ character is what is causing you problems. This should explain how to deal with it.
January 5, 2011 at 3:09 pm
Yes, yes we are. On that note, if we are going to Roy's house let's just skip the watermelon and casserole and head straight for copious amounts of liquor. 😛
January 5, 2011 at 3:04 pm
instead of "datalength(ns.ID_Note) -1" you should take a look at the reverse and charindex functions. Basically you can reverse your string and get the index of the first ".". The...
January 5, 2011 at 2:39 pm
Without a doubt they both taste better raw than cooked.
January 5, 2011 at 2:10 pm
Something like this should do it. Notice how i included the create table and insert scripts.
create table NodeSample
(
ID int identity not null,
ID_Parent int null,
Title varchar(20) null,
ID_Note varchar(20) null
)
go
insert NodeSample...
January 5, 2011 at 2:06 pm
You need to take out the address column if you don't want it.
select distinct name from ....
You just can't get a distinct column. You are trying to get distinct...
January 5, 2011 at 12:49 pm
So don't select that column.
select distinct [whatever columns you want]
January 5, 2011 at 12:43 pm
Don't know what you mean by in the image...our network filter says it is a sex site.
for the query I don't quite understand why you need a subquery.
select DISPLAY_NAME, COUNT(DISPLAY_NAME)
from...
January 5, 2011 at 12:27 pm
I don't about anybody else but that doesn't really explain what you are trying to do. What makes one of those records a child of another? Is there some sort...
January 5, 2011 at 12:21 pm
Just my opinion but that sounds like a system requirement flaw and not a coding problem. Passwords should be stored encrypted and not retrievable. There should be a mechanism in...
January 5, 2011 at 7:37 am
I think you may find you have lots of data structure issues. All your columns are declared as nvarchar. This means they can't hold more than 1 character. Also do...
January 4, 2011 at 1:34 pm
Not really sure what the RollNo table has to do with this...
I think this is what you are looking for.
select p.*
from Papers p
left join papers p2 on p.PaperID =...
January 4, 2011 at 1:06 pm
Maybe with some table definitions, scripts to generate test data and clear rules about what you are looking for you might get some help. Given the unclear tables, lack of...
December 28, 2010 at 3:24 pm
Viewing 15 posts - 15,061 through 15,075 (of 15,381 total)