Average query
Am developing a stock management. I'll be registering all the products that am buying randomly with their price. I want a query that will select all records of a particular product from the table and...
View ArticleID + Name as PK?
This topic must be fairly common but I can't seem to find what I'm looking for. Table Products has columns ProductID (PK), ProductName, ... ProductID is FK in other tables. This works well as long as...
View ArticleI'm working on the following query, please help
Please consider the following tables: Code: Table Name: Person Person_Id Name Table Name: DVD DVD_ID Owner_ID Title Here is the query: Write a query that returns the list of DVDs that belong to...
View ArticleClarification on DB design...
Hi Folks, I'm writing an application and kind of wish I paid more attention at University on database design :) I think I've got it right, but the ERM diagram that MySQL Workbench has created from my...
View ArticleWhat is the benefit of extra levels of indirection when it comes to Secondary...
I was reading my database book textbook and am on a section about secondary and primary indices. It briefly mentions the idea of adding a second level of indirection between a secondary index and the...
View ArticleExecute a batch file from stored Procedure
Hi All, I would like to know is it possible to execute a batch file from stored procedure? If yes, what is the right way to do it? Thanks.
View ArticleDeveloping new website, need some advice
Hey guys, I'm a newbie trying to figure out what direction I should take with my web site. I have designed several web sites using HTML, PHP, and CSS but I have very limited experience with databases,...
View ArticleGuys can someone recomend somewhere to get Project Man help??
Hey guys l know this is not the corect forum, before l get shot down in flames !! I cant seem to find a Project management forum that has active replies !! I have a question relating to an AoA diagram....
View ArticleError 207 - new column branded invalid
Hi all This one has been driving me steadily mad for most of the afternoon. I'm working in SQL2000 sp4. I've built a simple database to take snapshots from three ERPSs that contain related data and...
View ArticleSuggestion/Help on Access Relationship
I need to be able to design one form which will be used to enter all the questions and answer from questionnaire; student will be given questionnaire record the answer, all the data is entered by data...
View ArticleDate Relationships
I am making a database to track telemarketers orders and calls Here is my problem In Table 1 I have... sales #/order amount/order volume/date In Table 2 I have... sales #/call length/# of calls/date I...
View ArticleParameters prompting when printing or exporting report
I created an access report based off of 4 querys. I am using 3 subforms. currently there is one nexted subfrom, to one of the subforms on my main report and then a second subform on the main report....
View ArticleDatabase Researcher
Hello guys.. I have got an interview for a position as Database Researcher. Can you help me with some possible questions i will encounter and the skills needed. Thanks
View ArticleColumn Name Displayed as Tags in Outer Apply
Sorry guys, I haven't used Outer Apply much. I get the column name in the output and have to force a replace on the close and open tags in the select list to get rid of them. I have googled for an hour...
View Articleconditional insert statement
Does DB2 support conditional insert statement? insert into PRODUCT values ('123', 'PEN', 'a pen') where (select count(*) from PRODUCT < 100) ; If not can you please give me the easiest way to...
View ArticleLaunching a file from BD
I have two forms One is called Variables and another called Clients If I tell BD to run a file that is referenced as c:\winbox.exe inside the form in Variables it will open the windows browser for the...
View ArticleCheck whether existed rows for either updating or inserting then updating!
Hello all, My school data look like: Student Class Score ----------------------------- A English 100 A Math 85 A Reading 90 B English B Math There are three classes that requiring for each student (for...
View ArticleInsert or reject
Newbie with Postgres, and want to see if I'm doing this correctly before I write a bunch of useless Functions. I have a spreadsheet that I will be getting once a year, with approx. 50,000 rows on it. I...
View ArticleTimesheet and job costing
I need some help with setting up a database to collect Timesheet info with job costing. I have designed my tables ( Employees, Job Code, Labor Code and Worksheet Hours) I need a form that will allow me...
View Articlefind lines from a file based on search pattern from another file
hi all, im trying to use a list of words in file A and find lines in file B that contain these words and display them. any help is much appreciated thanks..
View Article