DB Relationships
Hello, I was trying to figure out how to plan a DB as per following: I have a set of students and each one is studying some topics like maths, physics, biology, English and so on Each group of topics...
View ArticleLooking for an easier solution
I have an extensive Excel report that gets populated with data every month. The data comes from user-entered records in my Access database. The Excel report is required in its current format and the...
View ArticleHow to query retrieve data every Thursday
Hi, I want to have a weekly report with a query. I don't have any field in the table to show the week day, but I want to run the query every Thursday. Please tell me how?
View Articletrigger function - postgresql - case when error
Hi all thanks from the beginning for all your inputs I created a function sumlast and a trigger update_actuals I have the following tables where I insert info: log1 - I put some time info hours actuals...
View ArticleMaking two QUERIES as one
Hi everybody, I am working with SQLite and I am trying to make a single QUERY that interrogates twice the same table. Firstly I need to select a row from a particular key "ID" creating a VIEW selecting...
View ArticleHELP : My database is in an inconsistant state
hi, I'm Informix IDS 10.0 user. I started my infomix instance after a crashe with oninit. The database seem to be on-Line. But by doing an ontape -a, there's an error indicating the database is in an...
View ArticleYour thoughts on this script?
I think I am almost completed just missing one or two pieces I believe. If you could please just take a quick look to give your opinion I would be grateful. Some background where I am at now with...
View Articleinsert into, select multiple records
Hi I have a main form that has four subforms. These subforms are filtered based on the selection on main form. (via four comboboxes) User selects a record in each of these subforms and I want to save...
View ArticleData Pipeline Crisis
I know some SQL. But I've been given the task of developing a data pipeline from an email account which receives a daily email with an excel file. This file has to be downloaded and then automatically...
View ArticleSSL Certificates in Windows 7 and Postgres
I am trying to implement SSL certificates with postgres 9.3 locally in Windows 7. In Windows Component Services / Local Services, postrgres is configured to start automatically, with Log On as a local...
View ArticleSql server 2012 reintsalling
Hi All, Do i need to uninstall Sql server 2012 completely, to run the setup again? Our Back end, is having Sql server 2005, sql server 2008 and sql server 2012. In sql server 2012 several of our live...
View Articleuserid with no password
hi guys, how do i select username on sybase with no password. Thanks
View ArticleInsert files to db2 table
Hello, at the start id like to say that i indeed was looking for my answer around - just couldnt find anything that works or is explained enough (mabe im just too dumb ;/) I need help regarding...
View Articleis this smart form possible?
There is a table named student_score like the following: Code: ID studentname score subject 12 jack A Biology 13 jack c...
View ArticleDB2 Bulk update online database
Hi All, I want to update an online table with 2 million records every hour. What is the best possible way to do it without impacting performance and avoiding any locking issues. Can the above be done...
View ArticleSQL query in 2012 works, 2005 does not
I have the following query that i need help with converting it to syntax that MS SQL 2005 would understand since FORMAT among other things in it are not supported by that old version. Code: "SELECT "...
View ArticleWhy does a WHERE clause on a nullable field not return the null records?
I recently ran into an issue with an issue with a query against our Data Warehouse. When attempting to sum revenue from a table, and using a WHERE clause on a field that contains NULL values, the...
View ArticleHow to get week number from db2 using visual studio 2013
Hello, I am using db2 with a date filed formatted as 20141110, which is November 10, 2014 in my sql query using Visual Studio 2013 I am trying to wonder how do I get the week number from the date...
View ArticleDENSE_RANK Vs ROW_NUMBER
The dense_rank and row_number functions have any difference on the performance of a sql?
View ArticleNot a legal OLEAUT date when importing from ACCESS to SQL
Im using the migration assistant but I keep running into this error that only allows 92% of the a certain table to be migrated. I changed the target field from datetime2 to just datetime but I keep...
View Article