Viewing 15 posts - 2,221 through 2,235 (of 6,036 total)
GilaMonster (8/16/2012)
until the update actually runs.
What do you mean by that?
What's exactly happening when update is running?
does not log updates where the value has not changed and does...
August 16, 2012 at 3:30 am
dineshvishe (7/26/2012)
But we want use in view .is that possible ??
Yes, of course.
Just use SET ANSI_WARNINGS OFF in procedures which select from the view.
August 15, 2012 at 10:21 pm
If you have a single script ready you may just run it from Command Shell using sqlcmd tool (2008 replacement for osql)
If you actually have a bunch of scripts you...
August 15, 2012 at 10:11 pm
GilaMonster (8/15/2012)
August 15, 2012 at 9:03 pm
patrickmcginnis59 (8/14/2012)
The routines are simple enought that I also tried perl and vba but couldn't find anything slower than T-SQL. Obviously testing a c version would be sort of silly....
August 14, 2012 at 10:32 pm
CHECKPOINT -- just to be sure and to allow for multiple tests
DECLARE @I int
SET @I = 10
WHILE @I > 0
BEGIN
BEGIN TRANSACTION
UPDATE test SET name = name
SELECT ...
August 14, 2012 at 8:31 pm
Dropping an index by name might not work when there is an index on the same column(s) under a slightly different name.
Proper solution should include comparing entries in sysindexkeys to...
August 13, 2012 at 10:56 pm
GilaMonster (8/13/2012)
August 13, 2012 at 10:30 pm
EdA ROC (8/13/2012)
Thank you all for our assistance. I got a solution from Utter Access message board.
That's probably the worst possible one.
It delivers pretty much the same result as mine...
August 13, 2012 at 10:24 pm
Eugene Elutin (8/10/2012)
codes for gender: F and M, (and maximum X which is new in Australia :-))
Turns out New Zealand is way more sophisticated than Australia.
About by 1/3 more...
August 13, 2012 at 2:48 am
UPDATE sf
set JUL_SAL = isnull(sf.JUL_SAL,0) + isnull(ss.SLS_DOL,0)
FROM
DIAPLUSDB.dbo.SalesForecast sf
left join (
SELECT CSCODE, PLT_NO, SUM(SLS_DOL) AS Total_SLS_DOL
FROM ...
August 12, 2012 at 10:34 pm
CELKO (8/12/2012)
Does an UPDATE query overwrite existing values if the already existing value is the same as the one your updating with?
Who cares?
Triggers, for example. transaction logs. Users sitting...
August 12, 2012 at 10:18 pm
CELKO (8/10/2012)
like the idea of having a sid (a surrogate id) on my tables, even if I do have a natural key that can serve as a primary key.the...
August 12, 2012 at 8:56 pm
sqlfriends (8/9/2012)
Thanks, so this is to create a unique index, but not a unique constraint.It seems not GUI way to create unique constraint.
You may choose "Unique Key" instead of "Index".
That...
August 9, 2012 at 11:25 pm
kenneth.mofokeng (7/5/2012)
I used...
August 9, 2012 at 8:40 pm
Viewing 15 posts - 2,221 through 2,235 (of 6,036 total)