Click here to Skip to main content
16,012,508 members
Home / Discussions / Database
   

Database

 
AnswerRe: datatables memory usage Pin
Paul Conrad18-Aug-06 3:47
professionalPaul Conrad18-Aug-06 3:47 
GeneralRe: datatables memory usage Pin
Glen Harvy18-Aug-06 3:56
Glen Harvy18-Aug-06 3:56 
GeneralRe: datatables memory usage Pin
Paul Conrad18-Aug-06 10:53
professionalPaul Conrad18-Aug-06 10:53 
Questionhow to set the id manually while inserting the record? Pin
ayyp18-Aug-06 1:21
ayyp18-Aug-06 1:21 
AnswerRe: how to set the id manually while inserting the record? Pin
Colin Angus Mackay18-Aug-06 3:16
Colin Angus Mackay18-Aug-06 3:16 
AnswerRe: how to set the id manually while inserting the record? Pin
i.j.russell18-Aug-06 9:04
i.j.russell18-Aug-06 9:04 
AnswerRe: how to set the id manually while inserting the record? Pin
Eric Dahlvang18-Aug-06 11:18
Eric Dahlvang18-Aug-06 11:18 
Questionselect statement not working for excel as a database [modified] Pin
playout17-Aug-06 23:17
playout17-Aug-06 23:17 
I have an excel spreadsheet as a database for a small project I am working on.
I have two sheets "Billing" and "Statement".

Basically the excel spreadsheet is a mess, and I cant change to much, as I only have read access to the file.

Now what I do is, I give the columns and worksheets new names, when getting info using a SELECT statement.

Here is my statement:

SELECT [DATE] as tblS_Date, mid([2ND REFERENCE_],1,9) as tblS_CellNr, mid([Cell Number],2,9) as tblB_CellNr, [Total___] as tblB_Total FROM Statement as tblS INNER JOIN Billing as tblB ON tblS.tblS_CellNr = tblB.tblB_CellNr

Say values in db:
2ND REFERENCE_ = "885551234"
Cell Number = "0885551234"

I convert these to with the use of the MID function:
2ND REFERENCE_ = "885551234"
Cell Number = "885551234"

My problem is, I cant get the JOIN part to work(join on cell phone numbers as primary/foreign keys)... It does not pick up the new names, and I cant use the defaultvalue from the spreadsheet as primary keys, as the info first need to be converted using "MID". How can I work around this?

Really, really appreciate the help!


-- modified at 5:35 Friday 18th August, 2006
AnswerRe: select statement not working for excel as a database Pin
Michael Potter18-Aug-06 5:29
Michael Potter18-Aug-06 5:29 
GeneralRe: select statement not working for excel as a database Pin
playout20-Aug-06 3:53
playout20-Aug-06 3:53 
Questionjoin 2 tables from 2 different databases Pin
playout17-Aug-06 23:09
playout17-Aug-06 23:09 
AnswerRe: join 2 tables from 2 different databases Pin
Stephen McGuire18-Aug-06 4:25
Stephen McGuire18-Aug-06 4:25 
AnswerRe: join 2 tables from 2 different databases Pin
S Douglas19-Aug-06 20:14
professionalS Douglas19-Aug-06 20:14 
QuestionDTS Package Parameter Passing Pin
dioey17-Aug-06 22:33
dioey17-Aug-06 22:33 
QuestionGet table details in SQL 2005 Pin
Vipul Mehta17-Aug-06 18:29
Vipul Mehta17-Aug-06 18:29 
AnswerRe: Get table details in SQL 2005 Pin
Colin Angus Mackay17-Aug-06 20:08
Colin Angus Mackay17-Aug-06 20:08 
QuestionSqlDependency and which rows actually changed? Pin
rpheaney17-Aug-06 14:56
rpheaney17-Aug-06 14:56 
AnswerRe: SqlDependency and which rows actually changed? Pin
Stephen McGuire18-Aug-06 9:46
Stephen McGuire18-Aug-06 9:46 
QuestionQuestion on SQL syntax Pin
leckey17-Aug-06 8:17
leckey17-Aug-06 8:17 
AnswerRe: Question on SQL syntax Pin
Paul Conrad17-Aug-06 8:28
professionalPaul Conrad17-Aug-06 8:28 
GeneralRe: Question on SQL syntax Pin
leckey17-Aug-06 8:50
leckey17-Aug-06 8:50 
GeneralRe: Question on SQL syntax Pin
Ennis Ray Lynch, Jr.17-Aug-06 9:06
Ennis Ray Lynch, Jr.17-Aug-06 9:06 
GeneralRe: Question on SQL syntax [modified] Pin
Jon Sagara17-Aug-06 10:07
Jon Sagara17-Aug-06 10:07 
AnswerRe: Question on SQL syntax Pin
Eric Dahlvang17-Aug-06 8:34
Eric Dahlvang17-Aug-06 8:34 
AnswerRe: Question on SQL syntax Pin
unclepaul17-Aug-06 10:10
unclepaul17-Aug-06 10:10 

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.