Click here to Skip to main content
15,903,012 members
Home / Discussions / Database
   

Database

 
AnswerRe: Conversion help Pin
Pete O'Hanlon26-Nov-07 9:20
mvePete O'Hanlon26-Nov-07 9:20 
AnswerRe: Conversion help Pin
solutionsville26-Nov-07 9:25
solutionsville26-Nov-07 9:25 
Questionhow to make table whit only one id Pin
E_Gold26-Nov-07 7:30
E_Gold26-Nov-07 7:30 
Answermore information Pin
E_Gold26-Nov-07 7:32
E_Gold26-Nov-07 7:32 
AnswerRe: how to make table whit only one id Pin
astanton197826-Nov-07 7:36
astanton197826-Nov-07 7:36 
AnswerRe: how to make table whit only one id Pin
pmarfleet26-Nov-07 8:09
pmarfleet26-Nov-07 8:09 
GeneralRe: how to make table whit only one id Pin
sandhya1419-Dec-07 22:29
sandhya1419-Dec-07 22:29 
QuestionSQL Query from multiple linked tables Pin
jontyler26-Nov-07 7:25
jontyler26-Nov-07 7:25 
Hello,

I have been working for two weeks on a problem to get data out of a database in a meaningful format. The database consists of basic server information along with information on some users, websites, and applications. The database structure is as follows:

Tables: Server Users Applications WebSites
Fields: ServerName ServerName ServerName ServerName
IPAddress UsrName AppName SiteName
Alive
ADsPath
dateAdded
datePwdChanged

I am trying to build a query/report that will give me information in the following format:

ServerName1 IPAddress Alive ADsPath dateAdded datePwdChanged AppName1 UsrName1 SiteName1
AppName2 UsrName2 SiteName2
AppName3 UsrName3 SiteName3
AppName4 SiteName4
AppName5
ServerName2 IPAddress Alive ADsPath dateAdded datePwdChanged AppName1 UsrName1 SiteName1
AppName2 UsrName2 SiteName2
AppName3 UsrName3 SiteName3
AppName4
and so on. (Tried to get the formatting right on here, but not sure it displays completely accurate).

So far, I get either a query showing servernames multiple times with multiple application, user and site entries or I get nothing.

I have googled everything I can think of and have run out of places to look. I have tried googling on what I want it to look like, how I think it should be queried, all to no avail. Obviously, I would be grateful if someone had a magic bullet for this, but at least pointing me in a new and valuable direction would be hugely appreciated.
AnswerRe: SQL Query from multiple linked tables Pin
Cristian Amarie26-Nov-07 7:58
Cristian Amarie26-Nov-07 7:58 
GeneralRe: SQL Query from multiple linked tables Pin
jontyler26-Nov-07 9:03
jontyler26-Nov-07 9:03 
AnswerRe: SQL Query from multiple linked tables Pin
andyharman26-Nov-07 9:01
professionalandyharman26-Nov-07 9:01 
GeneralRe: SQL Query from multiple linked tables Pin
jontyler26-Nov-07 9:05
jontyler26-Nov-07 9:05 
QuestionSQL Server Diagrams Pin
Brendan Vogt26-Nov-07 7:12
Brendan Vogt26-Nov-07 7:12 
AnswerRe: SQL Server Diagrams Pin
Paul Conrad26-Nov-07 16:27
professionalPaul Conrad26-Nov-07 16:27 
QuestionSQL Server 2005 Performance Tips Pin
Brendan Vogt26-Nov-07 4:22
Brendan Vogt26-Nov-07 4:22 
AnswerRe: SQL Server 2005 Performance Tips Pin
andyharman26-Nov-07 5:42
professionalandyharman26-Nov-07 5:42 
QuestionHow can i know which stored procedure is executed when and by which program? [modified] Pin
zeemalik26-Nov-07 2:36
zeemalik26-Nov-07 2:36 
AnswerRe: How can i know which stored procedure is executed when and by which program? Pin
Pete O'Hanlon26-Nov-07 9:24
mvePete O'Hanlon26-Nov-07 9:24 
QuestionInstalling MS SQL Server 2000 on Windows Vista Pin
I.explore.code25-Nov-07 22:27
I.explore.code25-Nov-07 22:27 
AnswerRe: Installing MS SQL Server 2000 on Windows Vista Pin
John_Adams25-Nov-07 23:18
John_Adams25-Nov-07 23:18 
GeneralRe: Installing MS SQL Server 2000 on Windows Vista Pin
I.explore.code26-Nov-07 17:43
I.explore.code26-Nov-07 17:43 
Questionneed help with stored procedure Pin
neodeaths25-Nov-07 22:16
neodeaths25-Nov-07 22:16 
AnswerRe: need help with stored procedure Pin
Christian Graus25-Nov-07 22:46
protectorChristian Graus25-Nov-07 22:46 
GeneralRe: need help with stored procedure Pin
neodeaths26-Nov-07 6:08
neodeaths26-Nov-07 6:08 
GeneralRe: need help with stored procedure Pin
astanton197826-Nov-07 7:14
astanton197826-Nov-07 7:14 

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.