Viewing 15 posts - 166 through 180 (of 245 total)
i would try putting the whole code, including the code between the 'fetch new from' lines and the variables your declaring, within the @query and execute it as one.
March 12, 2010 at 6:35 am
declare @table table(name varchar(10))
insert into @table
select 'CAPS'
select * from @table
update @table
set name = upper(SUBSTRING(name,1, 1)) + lower(SUBSTRING(name,2,len(name)))
select * from @table
something like this? or have i over complicated things?
March 11, 2010 at 9:46 am
doesnt the first line satisfy all potential outcomes?
if 'property' = 'prop2' then it will be 'IN ('prop1','prop2','prop3')'
or have a misread?
February 5, 2010 at 8:51 am
Paul_Harvey (2/5/2010)
Phils amendment to my expression now means...
February 5, 2010 at 6:02 am
sorry, are you saying that you dont want to let email addresses through that follow the format 'text.text@gmail.com' ?
because thats the format of my address
February 5, 2010 at 5:52 am
Chris Morris-439714 (12/8/2009)
davidandrews13 (12/8/2009)
Chris Morris-439714 (12/8/2009)
This implies that you can only update one column, of one row, per statement - is this correct or am I missing the point...
December 8, 2009 at 9:01 am
Chris Morris-439714 (12/8/2009)
Hi DavidThis implies that you can only update one column, of one row, per statement - is this correct or am I missing the point somewhere?
broadly speaking,...
December 8, 2009 at 7:07 am
sorry, i'm still getting used to what info is required, while at the same time not giving too much of our database structure away.
hopefully this is enough information to make...
December 8, 2009 at 5:40 am
OK. here's a slightly updated version. as you can see from the stored procedures that do the update, all but one parameter is hardcoded.
the parameter that isn't hardcoded is...
December 8, 2009 at 4:28 am
excellent! using Madhivanan's link i've now got rid of my cursor 🙂
i dont think it makes to much difference in this situation because its currently only bringing back 7 rows...
December 7, 2009 at 3:28 am
this did confuse me when i first started getting different results in a left join
December 5, 2009 at 7:51 am
Lynn Pettis (12/4/2009)
December 4, 2009 at 8:58 am
1234567teamNo
NULL114310NULL6NULLNULL6
startdate enddate teamName
03 Dec 200203 Dec 2009Wales
the current data will show it as this. it should all be on...
December 4, 2009 at 8:50 am
OK. its a bit difficult for me to give some test data for this because the declaring of the temp tables and filling them would have to go into the...
December 4, 2009 at 6:52 am
thanks everyone. got it to work. 😎
December 4, 2009 at 6:24 am
Viewing 15 posts - 166 through 180 (of 245 total)