Viewing 15 posts - 15,916 through 15,930 (of 18,926 total)
just paste something like that for each table.
create table #granted(grantedid int,grantedname varchar(30) )
insert into #granted(grantedid,grantedname) values (1,'Lowell')
insert into #granted(grantedid,grantedname) values (2,'Remi')
insert into #granted(grantedid,grantedname) values (3,'Frank')
insert into #granted(grantedid,grantedname) values (4,'Noel')
then repost...
June 30, 2005 at 9:02 am
The tablename is wrong or you didn't specify the right owner (try changing to your user name if the table name is correct).
June 30, 2005 at 9:01 am
That thread is not over, we requested you send us the code you were using so we could help and you didn't do it so we're still on hold on...
June 30, 2005 at 8:53 am
Update dbo.YourTable set DatCol = SUBSTRING(DatCol, 9, 2) + '/' + SUBSTRING(DatCol, 6, 2) + '/' + SUBSTRING(DatCol, 1, 4)
June 30, 2005 at 8:51 am
I can't help you if you don't post the data and table definition.
June 30, 2005 at 8:50 am
Can you paste the script to recreate the tables/index/relations and insert some sample data. I'll build it for you on my pc yif you can send me this.
June 30, 2005 at 8:40 am
No, just wondering if that would have worked and what would have been showed (too lazy to recreate the situation
).
[EDITED]
oops wrong thread.
June 30, 2005 at 8:31 am
ELECT is short for SELECT ![]()
6 is the start position, 2 is the length to retrieve..
Check SUBSTRING in the books online for more...
June 30, 2005 at 8:30 am
Can you check the ascii value of that character? If it's not 49 then that's where you're problem is.
June 30, 2005 at 8:24 am
Yes but answer this first, why would you keep a date in a text field?? Doesn't that seem wrong to you?
June 30, 2005 at 8:21 am
That's why I spread the words... found that out too about 1 month ago.
June 30, 2005 at 8:18 am
Viewing 15 posts - 15,916 through 15,930 (of 18,926 total)