Viewing 15 posts - 226 through 240 (of 245 total)
actually, while i'm here, why do i have a delete button available on this forum for the posts of other people? if i click to delete someone elses posts will...
April 16, 2009 at 8:23 am
sorry, you must have read my post before i edited it. my previous post on here is correctly showing as a convert to decimal now.
April 16, 2009 at 8:09 am
can you convert it to decimal?
'price' = convert(decimal(18,5),field1)
April 16, 2009 at 7:44 am
this works for me:
select
x.*,
y.*
from
(select
'Great Britain' as name
union
select
'angola'
union
select
'USA')x
inner join
(select
'team great britain' as name
union
select
'usa all stars'
union
select
'angola black antelopes'
)y
ON x.name like '%' + x.name + '%'
if i did:
ON x.name like '%' +...
April 15, 2009 at 5:05 am
select
x.col1,
x.col2,
'col3' = col1 + col2
from
(select
'col1' = 1 ,
'col2' = 4 ) x
April 14, 2009 at 9:47 am
does he mean something like @@identity as well?
April 9, 2009 at 6:09 am
Steve Jones - Editor (4/6/2009)
davidandrews13 (4/6/2009)
there's nothing that i find unintuitive about it.I think you're ready to be a DBA some day!
thanks! although i'm not sure whethre thats a good...
April 8, 2009 at 3:15 am
Grant Fritchey (4/7/2009)
davidandrews13 (4/7/2009)
oh i understand why 'where col1 like 'null%' doesn't work .:) presuming thats the bit your replying to?
i was just shocked that 'where col1 not like 'null%'...
April 7, 2009 at 7:30 am
Grant Fritchey (4/7/2009)
davidandrews13 (4/7/2009)
Chris Morris (4/7/2009)
A Little Help Please (4/7/2009)
Thanks!!!!!!!!!Works! 😀
and d.account not like 'null%'
Are you sure this works?
surprisingly, for me it does seem to work.
i just did...
April 7, 2009 at 6:51 am
Chris Morris (4/7/2009)
A Little Help Please (4/7/2009)
Thanks!!!!!!!!!Works! 😀
and d.account not like 'null%'
Are you sure this works?
surprisingly, for me it does seem to work.
i just did a simple select...
April 7, 2009 at 5:30 am
i code in VB.net and i'm relatively new to using SQL, only doing it for about 1 and a half years, so i have to admit that i dont have...
April 6, 2009 at 8:41 am
just a comment on the bit about feeling like your baby sitting, leading people to the answers.
i'm the sort of person that does like to do my own homework and...
April 6, 2009 at 7:16 am
http://www.java2s.com/Code/SQLServer/Date-Timezone/Formatdatemmddyyyy.htm
there's a few examples at the bottom.
as long as you realise that if you sort by these dates it sorts as a string and not a date.
March 27, 2009 at 11:00 am
el_wise (3/18/2009)
I've got an SP that looks like this:
CREATE PROCEDURE USPDeleteAnswers
@Id varchar(50),
@QuestionId varchar(100)
AS
BEGIN
DECLARE @sql nvarchar(255)
SET @sql = 'DELETE FROM tblUserAnswer where Id = @Id$ and...
March 18, 2009 at 11:01 am
Viewing 15 posts - 226 through 240 (of 245 total)