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

Database

 
QuestionDo I have to enable someting exclusively in sql server express 2008 to initiate a stored procedure? Please see the problem below. Pin
JUNEYT21-Sep-08 23:01
JUNEYT21-Sep-08 23:01 
AnswerRe: Do I have to enable someting exclusively in sql server express 2008 to initiate a stored procedure? Please see the problem below. Pin
Ashfield21-Sep-08 23:18
Ashfield21-Sep-08 23:18 
GeneralRe: Do I have to enable someting exclusively in sql server express 2008 to initiate a stored procedure? Please see the problem below. Pin
JUNEYT21-Sep-08 23:35
JUNEYT21-Sep-08 23:35 
GeneralRe: Do I have to enable someting exclusively in sql server express 2008 to initiate a stored procedure? Please see the problem below. Pin
Ashfield22-Sep-08 0:22
Ashfield22-Sep-08 0:22 
GeneralRe: Do I have to enable someting exclusively in sql server express 2008 to initiate a stored procedure? Please see the problem below. Pin
Wendelius22-Sep-08 8:06
mentorWendelius22-Sep-08 8:06 
QuestionDistributed systems design Pin
NicoJS21-Sep-08 22:18
NicoJS21-Sep-08 22:18 
AnswerRe: Distributed systems design Pin
Wendelius22-Sep-08 8:16
mentorWendelius22-Sep-08 8:16 
QuestionDetect sql server 2008 (Express) Pin
spif200121-Sep-08 22:03
spif200121-Sep-08 22:03 
Hi
First of all I have to say, that I'm in no way an SQL expert more likely an SQL dummy, so be warned. Smile | :)

I'm am currently building an InnoSetup installer hierarchy and as a part of that I have made a prerequisite downloader+installer for various Microsoft items - .NET Frameworks, Windows Installers, Internet Explorers, MDAC etc.

To detect the various components I use mostly registration keys, but as I played around with SQL Server 2005 Express I found out, that registration keys wasn't a good way detect it. Instead I tried creating an Ole object like this:

function SQLServerExpress2005Exist(): Boolean;
begin  
  Result := True;
  try
    SQLServer := CreateOleObject('SQLDMO.SQLServer');
  except
    if MsgBox(CustomMessage('SQLServerExpress2005Msg'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then Result := False;
  end;
end;
This method works when trying to detect an SQL Server 2005, but when I try using the same method on my computer with a running SQL Server 2008 Express, it doesn't work i.e. the code enters the except block.

What is the best way to detect an installed (not necessarily running) SQL Server 2008?

I'm in the high-fidelity first class traveling set.
And I think I need a Lear jet.

AnswerRe: Detect sql server 2008 (Express) Pin
Tamer Oz22-Sep-08 22:03
Tamer Oz22-Sep-08 22:03 
GeneralRe: Detect sql server 2008 (Express) Pin
spif200122-Sep-08 22:57
spif200122-Sep-08 22:57 
QuestionFiring Trigger after 5 min(Autosave) Pin
g_amol21-Sep-08 20:38
g_amol21-Sep-08 20:38 
AnswerRe: Firing Trigger after 5 min(Autosave) Pin
Ashfield21-Sep-08 21:08
Ashfield21-Sep-08 21:08 
GeneralRe: Firing Trigger after 5 min(Autosave) Pin
g_amol21-Sep-08 22:18
g_amol21-Sep-08 22:18 
GeneralRe: Firing Trigger after 5 min(Autosave) Pin
Ashfield21-Sep-08 23:15
Ashfield21-Sep-08 23:15 
AnswerRe: Firing Trigger after 5 min(Autosave) Pin
nelsonpaixao22-Sep-08 12:47
nelsonpaixao22-Sep-08 12:47 
Questionto change the position of the column Pin
varsh1221-Sep-08 19:37
varsh1221-Sep-08 19:37 
AnswerRe: to change the position of the column Pin
Ashfield21-Sep-08 21:11
Ashfield21-Sep-08 21:11 
GeneralRe: to change the position of the column Pin
varsh1222-Sep-08 0:20
varsh1222-Sep-08 0:20 
GeneralRe: to change the position of the column Pin
Ashfield22-Sep-08 0:28
Ashfield22-Sep-08 0:28 
GeneralRe: to change the position of the column Pin
nelsonpaixao22-Sep-08 12:52
nelsonpaixao22-Sep-08 12:52 
QuestionCan CTE be used in a sub query? Pin
followait21-Sep-08 19:04
followait21-Sep-08 19:04 
AnswerRe: Can CTE be used in a sub query? Pin
Ashfield21-Sep-08 21:12
Ashfield21-Sep-08 21:12 
GeneralRe: Can CTE be used in a sub query? Pin
followait21-Sep-08 23:51
followait21-Sep-08 23:51 
GeneralRe: Can CTE be used in a sub query? Pin
Ashfield22-Sep-08 2:55
Ashfield22-Sep-08 2:55 
QuestionAdvice regareding creating System/Technical desing Pin
ptr_Electron21-Sep-08 18:20
ptr_Electron21-Sep-08 18:20 

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.