Viewing 15 posts - 21,991 through 22,005 (of 26,484 total)
Jack Corbett (3/13/2009)
Lynn Pettis (3/13/2009)
Anyone else care to join the fray??
I prefer not to be the Saint of Lost Causes. I looked at his other posts and he acts...
March 13, 2009 at 4:37 pm
foxjazz (3/13/2009)
It isn't insulting to critisize a product because it deserves criticism. And the fact that they slightly improved on the language in 2008 justifies this case.
No it isn't. ...
March 13, 2009 at 4:31 pm
foxjazz (3/13/2009)
A lot of what I have to do is use cursors, because of how my database is structured,...
March 13, 2009 at 4:05 pm
foxjazz,
I believe I met your requirement. We all are still waiting to hear back from you.
March 13, 2009 at 3:58 pm
I killed it back before my last post. I'm not sure I will try it against a 1,000,000 row table again. I think it will take too long...
March 13, 2009 at 3:49 pm
Anyone else care to join the fray??
March 13, 2009 at 3:40 pm
foxjazz (3/13/2009)
select name from mynametable where changedate > @yesterday
fetch from @sel into @name
while (@@fetch_status =...
March 13, 2009 at 3:29 pm
foxjazz (3/13/2009)
Gee lynn are you dense. Do I have to write it in t-sql for you to get it?I don't like cursors.
wtf
Really? That is really necessary? No, I'm...
March 13, 2009 at 3:22 pm
Let's give every employee a 10% raise:
update dbo.employee set
Salary = Salary * 1.1;
March 13, 2009 at 3:20 pm
foxjazz (3/13/2009)
run a query or view that gets a datatable (in t-sql) not c#
Then run through each record in the datatable that...
March 13, 2009 at 3:17 pm
foxjazz (3/13/2009)
Excatly my point.... So why doesn't t-sql accomodate sets?
Why would I need a cursor to do updates like ?
foreach(select * from table)
{
insert into othertable (field) value(myfield) ?...
March 13, 2009 at 3:09 pm
foxjazz (3/13/2009)
Yes shortening of stuff...
March 13, 2009 at 3:01 pm
I'd say minimal difference, but I'd personally use the second option.
March 13, 2009 at 2:40 pm
foxjazz (3/13/2009)
foreach( select myfield from tbl where myotherfield > 3)
{
insert into myothertable (myotherfield) values (myfield)
}
I think...
March 13, 2009 at 2:37 pm
Your complaints are a bit of the mark IMHO. There is nothing wrong with the sematics of T-SQL. It's just different the C# just like C# is different...
March 13, 2009 at 2:34 pm
Viewing 15 posts - 21,991 through 22,005 (of 26,484 total)