Click here to Skip to main content
15,886,137 members
Home / Discussions / Database
   

Database

 
GeneralRe: MS-ACCESS Query Problem Pin
ChandraRam4-Mar-09 20:57
ChandraRam4-Mar-09 20:57 
QuestionGlobalization Pin
icanmakeiteasy4-Mar-09 18:42
icanmakeiteasy4-Mar-09 18:42 
AnswerRe: Globalization Pin
Rupesh Kumar Swami4-Mar-09 20:23
Rupesh Kumar Swami4-Mar-09 20:23 
AnswerRe: Globalization Pin
ChandraRam4-Mar-09 20:58
ChandraRam4-Mar-09 20:58 
QuestionChange DataType Pin
mehrdadc484-Mar-09 18:16
mehrdadc484-Mar-09 18:16 
AnswerRe: Change DataType Pin
Rupesh Kumar Swami4-Mar-09 20:38
Rupesh Kumar Swami4-Mar-09 20:38 
QuestionHelp with the SQL Query Pin
Vimalsoft(Pty) Ltd4-Mar-09 3:49
professionalVimalsoft(Pty) Ltd4-Mar-09 3:49 
AnswerRe: Help with the SQL Query Pin
Syed Mehroz Alam4-Mar-09 8:07
Syed Mehroz Alam4-Mar-09 8:07 
Not sure what you need but if you want to get the same value in both the places, here's a way:

SET @Pattern = (SELECT TOP 1 TERM.[CYCLETEMPLATES]FROM tbl_term TERM 
  INNER JOIN dbo.TBL_ACTV v
  on TERM.ID = V.TERM
  INNER JOIN  DBO._Subjects S
  ON V.TERM = S.[LEVEL]
  WHERE CODE = @SUBJECT)

IF @Pattern is null Set @Pattern = '00000000'
Select @Pattern


Hope that helps.

Regards,
Syed Mehroz Alam

My Blog
My Articles

Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein

QuestionAppend to WHERE clause on condition Pin
Phillip Donegan4-Mar-09 1:22
Phillip Donegan4-Mar-09 1:22 
AnswerRe: Append to WHERE clause on condition Pin
Rob Philpott4-Mar-09 5:24
Rob Philpott4-Mar-09 5:24 
GeneralRe: Append to WHERE clause on condition Pin
Phillip Donegan4-Mar-09 5:43
Phillip Donegan4-Mar-09 5:43 
GeneralRe: Append to WHERE clause on condition Pin
Rob Philpott4-Mar-09 5:49
Rob Philpott4-Mar-09 5:49 
GeneralRe: Append to WHERE clause on condition Pin
Mycroft Holmes4-Mar-09 16:21
professionalMycroft Holmes4-Mar-09 16:21 
Questionhow can i call a function in stored procdeure in sql server 2005 Pin
lakshmichawala4-Mar-09 0:30
lakshmichawala4-Mar-09 0:30 
AnswerRe: how can i call a function in stored procdeure in sql server 2005 Pin
www.Developerof.NET4-Mar-09 0:37
www.Developerof.NET4-Mar-09 0:37 
AnswerRe: how can i call a function in stored procdeure in sql server 2005 Pin
lakshmichawala4-Mar-09 0:51
lakshmichawala4-Mar-09 0:51 
QuestionOracle Question Pin
E_Gold4-Mar-09 0:25
E_Gold4-Mar-09 0:25 
AnswerRe: Oracle Question Pin
Eddy Vluggen4-Mar-09 1:19
professionalEddy Vluggen4-Mar-09 1:19 
AnswerRe: Oracle Question Pin
M Riaz Bashir4-Mar-09 19:45
M Riaz Bashir4-Mar-09 19:45 
QuestionFiring trigger on a bulk like insert Pin
www.Developerof.NET4-Mar-09 0:11
www.Developerof.NET4-Mar-09 0:11 
AnswerRe: Firing trigger on a bulk like insert Pin
Mycroft Holmes4-Mar-09 16:30
professionalMycroft Holmes4-Mar-09 16:30 
QuestionStore 10000 characters Pin
.NET- India 3-Mar-09 20:47
.NET- India 3-Mar-09 20:47 
AnswerRe: Store 10000 characters Pin
Vimalsoft(Pty) Ltd3-Mar-09 20:58
professionalVimalsoft(Pty) Ltd3-Mar-09 20:58 
GeneralRe: Store 10000 characters Pin
.NET- India 3-Mar-09 21:06
.NET- India 3-Mar-09 21:06 
GeneralRe: Store 10000 characters Pin
.NET- India 3-Mar-09 21:15
.NET- India 3-Mar-09 21:15 

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.