Click here to Skip to main content
15,902,112 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL SERVER Pin
Colin Angus Mackay11-Sep-06 22:44
Colin Angus Mackay11-Sep-06 22:44 
QuestionHow to define a null-ignoring unique constraint Pin
supercali11-Sep-06 15:41
supercali11-Sep-06 15:41 
AnswerRe: How to define a null-ignoring unique constraint Pin
Farhan Noor Qureshi11-Sep-06 18:59
Farhan Noor Qureshi11-Sep-06 18:59 
GeneralRe: How to define a null-ignoring unique constraint Pin
supercali12-Sep-06 4:16
supercali12-Sep-06 4:16 
QuestionFinding recurring dates. Pin
T-Smooth11-Sep-06 3:06
T-Smooth11-Sep-06 3:06 
AnswerRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 3:50
Eric Dahlvang11-Sep-06 3:50 
GeneralRe: Finding recurring dates. Pin
T-Smooth11-Sep-06 5:48
T-Smooth11-Sep-06 5:48 
AnswerRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 6:42
Eric Dahlvang11-Sep-06 6:42 
SELECT c.dt, c.dayname, c.monthname, c.M, c.D, c.Y, c.W
FROM dbo.Calendar c
WHERE c.dayname IN ('Sunday')
AND c.dt >= '01/01/08'
AND c.Y IN (2008, 2009)
AND 2 = (SELECT COUNT(*) FROM dbo.Calendar c2
	 WHERE  c.y = c2.y 
		AND c.m = c2.m 
		AND c2.dt < c.dt  
		AND c.dayname = c2.dayname)
ORDER BY c.dt


--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters

GeneralRe: Finding recurring dates. Pin
T-Smooth11-Sep-06 8:24
T-Smooth11-Sep-06 8:24 
GeneralRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 10:19
Eric Dahlvang11-Sep-06 10:19 
AnswerRe: Finding recurring dates. Pin
Michael Potter11-Sep-06 10:20
Michael Potter11-Sep-06 10:20 
GeneralRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 10:55
Eric Dahlvang11-Sep-06 10:55 
QuestionCondition as parameter of sp ... ? [modified] Pin
devboycpp10-Sep-06 23:22
devboycpp10-Sep-06 23:22 
AnswerRe: Condition as parameter of sp ... ? Pin
_AK_10-Sep-06 23:29
_AK_10-Sep-06 23:29 
GeneralRe: Condition as parameter of sp ... ? [modified] Pin
devboycpp10-Sep-06 23:38
devboycpp10-Sep-06 23:38 
GeneralRe: Condition as parameter of sp ... ? Pin
_AK_10-Sep-06 23:55
_AK_10-Sep-06 23:55 
GeneralRe: Condition as parameter of sp ... ? Pin
devboycpp11-Sep-06 0:24
devboycpp11-Sep-06 0:24 
GeneralRe: Condition as parameter of sp ... ? Pin
_AK_11-Sep-06 0:33
_AK_11-Sep-06 0:33 
AnswerRe: Condition as parameter of sp ... ? Pin
Eric Dahlvang11-Sep-06 3:08
Eric Dahlvang11-Sep-06 3:08 
QuestionNavigation buttons Pin
Ranjita Ghosh10-Sep-06 21:41
Ranjita Ghosh10-Sep-06 21:41 
AnswerRe: Navigation buttons Pin
Tushar Kothari11-Sep-06 1:06
Tushar Kothari11-Sep-06 1:06 
GeneralRe: Navigation buttons Pin
Ranjita Ghosh11-Sep-06 1:48
Ranjita Ghosh11-Sep-06 1:48 
QuestionCatching errors raised by SP Pin
Uma Kameswari10-Sep-06 21:40
Uma Kameswari10-Sep-06 21:40 
AnswerRe: Catching errors raised by SP Pin
Tushar Kothari11-Sep-06 1:10
Tushar Kothari11-Sep-06 1:10 
GeneralRe: Catching errors raised by SP Pin
Amit Kumar G12-Sep-06 16:28
Amit Kumar G12-Sep-06 16:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.