Viewing 15 posts - 1,966 through 1,980 (of 1,993 total)
That's correct. if you want a field to not allow duplicates (that isn't the entire primary key) then you need a contraint.
if you are in the UK...
MVDBA
June 30, 2004 at 6:08 am
antares is right.
what happens if more than one person have the page open, do they all process the data?
how about using the page to append to a Holding table...
MVDBA
June 30, 2004 at 5:58 am
True.
Just waiting to sort out all the other stuff as well (like a company logo etc...)
just for you i'll sort it out today!
MVDBA
June 30, 2004 at 5:53 am
or did you mena that the transaction log becomes fuill because of the amount of data that you are manipulating? if so switch to SIMPLE recovery mode and checkpoint the...
MVDBA
June 30, 2004 at 5:29 am
you've obviously got to keep the data until you have migrated it into the new table.
you should still keep your invoice table with the fields invoice_no,invoice type
then how about...
MVDBA
June 30, 2004 at 5:26 am
where did you decalare the @counter variable used in the following? unless i'm being really stupid here.
update STable
set counter = @counter,
@counter = @counter + 1
where sid=@sid
and STypeID=@STypeID
have you also...
MVDBA
June 30, 2004 at 5:10 am
I've always found that the best method is nearly always to PULL the data to the detination rather than PUSH it from the source.
with that in mind the Access import/link...
MVDBA
June 30, 2004 at 4:53 am
the problem here is that you have placed an auto number in the companies table and defined it as the primary key.
a primary key is defined as the entity that...
MVDBA
June 30, 2004 at 4:19 am
if you want to keep up with the latest service pack versions download the micorosft baseline security analyser.
it's free and will tell you all hotfixes and service packs that are...
MVDBA
June 30, 2004 at 3:35 am
out of interest is it quicker?
MVDBA
June 30, 2004 at 3:32 am
all you are doing here is replicating what the SQL server is doing....
if you are using ADO.net then you can send the query and return a recordset.
the ado recordset...
MVDBA
June 30, 2004 at 3:23 am
this should help
select xys from mytable where datepart(dd,mytable.datefield)=datepart(dd,getdate()) and datepart(mm,mytable.datefield)=datepart(mm,getdate())
Cheers
MVDBA
June 29, 2004 at 8:07 am
is this code unique? or does each user start at 0000 each year
if so then you need to make a trigger for insert that uses something along the lines...
MVDBA
June 29, 2004 at 7:54 am
if anyone has any requests for tutorials on specific matters, we are preparing some material for new SQL DBAs and Oracle DBAs making the transition.
we would be happy to...
MVDBA
June 29, 2004 at 7:46 am
Viewing 15 posts - 1,966 through 1,980 (of 1,993 total)