Viewing 15 posts - 10,216 through 10,230 (of 49,566 total)
Sapen (1/27/2014)
January 28, 2014 at 9:07 am
Sean Lange (1/28/2014)
mike.conti (1/28/2014)
This works: SELECT top 10 * FROM ACTI**_**
it does not appear in when i run this SELECT * FROM...
January 28, 2014 at 9:00 am
Greg Edwards-268690 (1/28/2014)
GilaMonster (1/28/2014)
A trigger that doesn't work: http://www.sqlservercentral.com/Forums/Topic1532595-1292-1.aspx
An IF statement that, well, ......
January 28, 2014 at 8:55 am
Sean Lange (1/28/2014)
GilaMonster (1/28/2014)
January 28, 2014 at 8:55 am
Max number is more than you could ever need.
When there are multiple triggers for the same action (multiple insert for example), you can defined which one runs first and which...
January 28, 2014 at 8:18 am
I'm not saying that recursive CTEs are bad, wrong, terrible, never use. Just saying be aware of how they behave.
January 28, 2014 at 7:34 am
Anyone got time and enthusiasm? (running low on the latter and it's almost time to go home)
A trigger that doesn't work: http://www.sqlservercentral.com/Forums/Topic1532595-1292-1.aspx
An IF statement that, well, ... http://www.sqlservercentral.com/Forums/Topic1535345-1291-1.aspx
January 28, 2014 at 7:31 am
chillw1nston (1/28/2014)
not sure what your getting at. I guess because it runs recursively and relys on previous result set to generate next which is a more programmatical construct?
Yup.
Would you...
January 28, 2014 at 7:26 am
chillw1nston (1/28/2014)
DECLARE @threshold int = 100
;WITH numbers ( seqnum )
AS...
January 28, 2014 at 7:07 am
I can't tell from that what's going on. That 'May have Data Corruption' is an application error, could be anything triggering that. Without knowing the technical details, no way to...
January 28, 2014 at 6:59 am
Then the where clause you have matches no rows.
Probably because of this:
IF @ADR3 IS NULL
SELECT ADR1, ADR2, POSTAL_CODE
FROM PAT_NAMES_ADDRESS
WHERE CURRENT_ONE = RTRIM(@CURRENT_ONE)
AND ADR1 = RTRIM(@ADR1)
AND ADR2 = RTRIM(@ADR2)
AND ADR3 =...
January 28, 2014 at 6:41 am
When you say 'data corruption', what exactly do you mean? What errors, what symptoms, etc
January 28, 2014 at 6:00 am
SET @ADR3 = 'null'
That's setting the variable to the string value n-u-l-l. If you want to check whether a variable has the string value "null", then you'd need IF...
January 28, 2014 at 5:59 am
Viewing 15 posts - 10,216 through 10,230 (of 49,566 total)