Viewing 15 posts - 91 through 105 (of 126 total)
Ok set this baby... Real world.
I have a table catagory fields are description, catID, typeID. parentID
another tables queryed with (make, model, yr, engine).
in the category table makes are typeid =...
March 14, 2009 at 11:08 am
yea, you don't need to use a comma as a field separator.
However if you have a "csv" file I would use SSIS to form the inserts.
If the data is massive,...
March 14, 2009 at 10:55 am
First off, I don't "struggle" with t-sql, I use it a lot.
A lot of what I have to do is use cursors, because of how my database is structured, and...
March 13, 2009 at 3:59 pm
ok example sort of (my computer is sick so I can't give you something already done)
select name from mynametable where changedate > @yesterday
fetch from @sel into @name
while (@@fetch_status = 0)
begin
insert...
March 13, 2009 at 3:23 pm
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
March 13, 2009 at 3:18 pm
Another point, why should someone that knows c# or vb and does it daily, have to learn t-sql.
Why can't t-sql accomadate that flavor of language just like the IDL compiler...
March 13, 2009 at 3:16 pm
Ok here is what I would like to do:
run a query or view that gets a datatable (in t-sql) not c#
Then run through each record in the datatable that I...
March 13, 2009 at 3:14 pm
cursors heh
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) ? Why...
March 13, 2009 at 3:06 pm
I don't think it's my problem that sql server is so inefficient with the use of cursors. Maybe they should have designed sql server better eh?
Yes shortening of stuff would...
March 13, 2009 at 2:58 pm
also instead of using cursurs like they are now, wouldn't it be easier to say:
foreach( select myfield from tbl where myotherfield > 3)
{
insert into myothertable (myotherfield) values (myfield)
}
I think it...
March 13, 2009 at 2:34 pm
are you guys living in the cage of t-sql? :)))
well begin and end for one can be replace with { }
declare @whatever as int can be replace with
int @whatever
gee I...
March 13, 2009 at 2:29 pm
Lynn Pettis (1/14/2009)
January 14, 2009 at 2:31 pm
GilaMonster (1/14/2009)
foxjazz (1/14/2009)
January 14, 2009 at 12:54 pm
foxjazz (1/14/2009)
What are the differences invalidated and you will need to reinitialize it (again I am guessing that's what you meant by "jumpstart" it)Hope it helps
Is there a method...
January 14, 2009 at 11:44 am
noeld (1/14/2009)
foxjazz (1/14/2009)
Also, if I create a subscriber snapshot database, and script it to subscribe to a publisher, when I go...
January 14, 2009 at 11:32 am
Viewing 15 posts - 91 through 105 (of 126 total)