Viewing 15 posts - 91 through 105 (of 132 total)
haven't checked this but it should work.
select i.itemno, i.price, i.valid_from, i.valid_to, r.rebate
from items i
inner join supplier_rebate r on (i.supplier_id=r.supplier_id)
where (r.rebate_valid_to between i.valid_from and i.valid_to)
hope this helps
April 26, 2004 at 4:53 am
There is a great article here http://www.sql-server-performance.com/sql_server_configuration_settings.asp whihc should get you going - the site it is on is a great source of info relaing to optimisation of many aspects...
April 23, 2004 at 3:38 am
I think the only benefit of using 2 processors that I can think of at present would be that you would be able to use a processor for sql exclusively...
April 23, 2004 at 3:24 am
You could try having a look at SQL
April 23, 2004 at 1:42 am
April 22, 2004 at 9:54 am
going to google and searching for 'shrinking sql server transaction log' would be a good start
or you could go here http://support.microsoft.com/default.aspx?scid=kb;EN-US;272318
April 22, 2004 at 9:27 am
no - i would just import them straight into your database.
(right click on database > ALl Tasks > Import Data > set datasource to text file)
April 22, 2004 at 8:56 am
i'm digging myself a hole here !
i added a post advising you to try @@rowcount inside the function, not realising you did the insert in the SP - went in...
April 22, 2004 at 8:45 am
it can't do any harm if it is out of hours - i used to do all databases over night
April 22, 2004 at 8:39 am
AFAIK sql server is pretty good at keeping statistics relating to indexes etc. There is a wealth of information relating to the optimisation of sql server in various places (BOL,...
April 22, 2004 at 8:13 am
Unbelivable.
I stand astonished.
That must be, though, the worst way of entering data into a table ...
April 22, 2004 at 6:04 am
I tested it before i replied to your first post with no problems.
Unless I'm missing something here ?
I used this:
create table test3([id] int not null, value varchar(50))
insert into test3 values(1,...
April 22, 2004 at 5:54 am
<snip>
Hate to ask this but does the table have a PRIMARY KEY??
IF the table doesn't it will be READ-ONLY through QA.
Let me know.
Thanks,
AJ
</snip>
Are you sure this is the...
April 22, 2004 at 5:42 am
Viewing 15 posts - 91 through 105 (of 132 total)