Viewing 15 posts - 151 through 165 (of 244 total)
try this
declare
@value int
set
@value = 0
update
yourtable
set
@value = @value
July 23, 2006 at 9:51 am
as a general rule of thumb where possible always use foriegn key constraint to enfore referential integrity instead of triggers.
July 21, 2006 at 9:30 am
yes triggers can maintain denormailised figure and ensure fk constraint accross dbs but this is not the place to use them .
" use triggers to enhance referential integrity more so...
July 21, 2006 at 8:26 am
why would you want to break the referential integrity of the db introduce triggers that have to be maintained and ensure that the domain of you foreign keys are exclusive...
July 21, 2006 at 7:45 am
What you going to do if the key values overlap? You wont know which table its really pointing at if there is a matching record in both.
umm i reckon you would...
July 21, 2006 at 7:26 am
sql2000 does replicate schema changes you must reinitialise the subscriptions.
July 21, 2006 at 7:19 am
Forgot the interval bit
declare
@i int, @interval int
set
@i = 0, @interval
July 19, 2006 at 8:42 am
set @i = 0
update RandomPermTable
July 19, 2006 at 8:37 am
Thanks Adam Unfortunatly this wont solve the problem.
The strange thing is that- i create two cubes with same data source using the same fact table and the same dimension in...
July 18, 2006 at 8:16 am
umm have you actually run the code. NOt sure why your getting nulls.
Rather than assuming id and extra column i am would insert the records in a tables variable which...
July 18, 2006 at 7:55 am
Heres a solution that doesnt use a loop (cursor) and should therefore by more efficient.
------------DDL----------------
-- prepare test data
declare
@table table
July 18, 2006 at 4:38 am
probably one of the data parameters is being passed in as a string
July 14, 2006 at 8:21 am
'If DateClosed is null could have an unknown value'
What do you mean by 'could'?
Is what your suggesting is that
where null is null
could/should (?) return as unknown.
The...
July 11, 2006 at 8:22 am
Viewing 15 posts - 151 through 165 (of 244 total)