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

Database

 
AnswerRe: problem trying to use UNION in the sql query Pin
Dhyanga23-Jun-11 4:04
Dhyanga23-Jun-11 4:04 
AnswerRe: problem trying to use UNION in the sql query Pin
Chris Meech23-Jun-11 4:16
Chris Meech23-Jun-11 4:16 
QuestionMySqlDBType equivalent of SqlDBType.Char in routines (stored procedures) Pin
TheComputerMan22-Jun-11 0:57
TheComputerMan22-Jun-11 0:57 
AnswerRe: MySqlDBType equivalent of SqlDBType.Char in routines (stored procedures) Pin
Mycroft Holmes23-Jun-11 11:59
professionalMycroft Holmes23-Jun-11 11:59 
GeneralRe: MySqlDBType equivalent of SqlDBType.Char in routines (stored procedures) Pin
TheComputerMan23-Jun-11 22:15
TheComputerMan23-Jun-11 22:15 
GeneralRe: MySqlDBType equivalent of SqlDBType.Char in routines (stored procedures) Pin
Mycroft Holmes23-Jun-11 22:24
professionalMycroft Holmes23-Jun-11 22:24 
GeneralRe: MySqlDBType equivalent of SqlDBType.Char in routines (stored procedures) Pin
TheComputerMan23-Jun-11 22:57
TheComputerMan23-Jun-11 22:57 
QuestionLookup Columns In Access via Linked Data? Pin
Matt U.21-Jun-11 11:41
Matt U.21-Jun-11 11:41 
I am currently writing an application which connects to a Microsoft Access 2007 database. After doing a bit of research, I have decided (and I have been given the go-ahead) to work on transferring everything over to an installation of Microsoft SQL Server 2008 Express. I am successfully able to import the existing data into SQL Server via SQL Server Management Studio Express. I set up all the table relationships and so forth.

My question is in regards to the relationships. There is one main table, which is the basis of the application's data. The fields in that table, Repairs, include relationships to other tables (e.g. [Failure Codes]). In Access, the linked fields are setup as Lookup columns, pulling data from the appropriate tables. The fields display the [Failure Description] field (text) in the Repairs table, but of course the field's value is the [ID] (Primary Key) from the [Failure Codes] table.

Is there any way to do the same in SQL Server? This is not the most important issue. It is simply a curiosity.

The main thing is that my boss is most comfortable with Access. He has never really worked with SQL Server. I told him how we can create an Access database on his computer which will link to all the appropriate SQL Server data (I tested it, it works perfectly). However, when he views the Repairs table he is seeing the [Failure Codes].[ID] value instead of how it was before, displaying the [Failure Codes].[Failure Description] field text while storing its value as the [ID]. Is there a way to change this? He often runs queries to find records matching criteria such as a date or date range. And when he does, Access pulls the [ID] instead of the description text.

The main reason I ask is for the fact that he generates reports periodically. I know he uses the Report Wizard in Access. However, when doing so, the report displays the [Failure Code] column's values for each record as the [ID] rather than the [Failure Description]. Now, I know how to add more fields and such to the report, as I am sure he does as well. But are we missing something? Or is it best to put the fields in manually, in order for them to look up the appropriate values?
AnswerRe: Lookup Columns In Access via Linked Data? Pin
_Damian S_21-Jun-11 14:34
professional_Damian S_21-Jun-11 14:34 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Matt U.21-Jun-11 14:48
Matt U.21-Jun-11 14:48 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
_Damian S_21-Jun-11 14:52
professional_Damian S_21-Jun-11 14:52 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Matt U.21-Jun-11 15:04
Matt U.21-Jun-11 15:04 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Mycroft Holmes21-Jun-11 18:36
professionalMycroft Holmes21-Jun-11 18:36 
AnswerRe: Lookup Columns In Access via Linked Data? Pin
Mycroft Holmes21-Jun-11 18:41
professionalMycroft Holmes21-Jun-11 18:41 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Matt U.24-Jun-11 16:40
Matt U.24-Jun-11 16:40 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Mycroft Holmes24-Jun-11 21:17
professionalMycroft Holmes24-Jun-11 21:17 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Matt U.25-Jun-11 1:44
Matt U.25-Jun-11 1:44 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Mycroft Holmes25-Jun-11 2:31
professionalMycroft Holmes25-Jun-11 2:31 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Matt U.25-Jun-11 8:57
Matt U.25-Jun-11 8:57 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Mycroft Holmes25-Jun-11 13:02
professionalMycroft Holmes25-Jun-11 13:02 
GeneralRe: Lookup Columns In Access via Linked Data? Pin
Matt U.25-Jun-11 13:26
Matt U.25-Jun-11 13:26 
QuestionProblem with TIMESTAMP WITH LOCAL TIMEZONE datatype in Oracle 9i Pin
coder21k21-Jun-11 9:42
coder21k21-Jun-11 9:42 
AnswerRe: Problem with TIMESTAMP WITH LOCAL TIMEZONE datatype in Oracle 9i Pin
Eddy Vluggen21-Jun-11 12:23
professionalEddy Vluggen21-Jun-11 12:23 
GeneralRe: Problem with TIMESTAMP WITH LOCAL TIMEZONE datatype in Oracle 9i Pin
coder21k22-Jun-11 3:22
coder21k22-Jun-11 3:22 
AnswerRe: Problem with TIMESTAMP WITH LOCAL TIMEZONE datatype in Oracle 9i Pin
jschell22-Jun-11 9:26
jschell22-Jun-11 9:26 

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.