Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Browsing all 13329 articles
Browse latest View live

Deriving DLY and MTD Revenues from YTD

Hello, I am creating a data warehouse table. The source data only has YTD rev totals. How can I create a query that calculates the DLY & MTD rev values? Any assistance would be greatly appreciated....

View Article


Multiple counts on a single line, by day

Here's my base query: SELECT day(`dateTime`) as day, `status`, count(*) FROM table WHERE `dateTime` >= '2012-XX-XX 00:00:00' GROUP BY day, `status` Output~ day status count(*) 1 sts1 194 1 sts2 367...

View Article


Weak entity types, multiple relationships

Hi there, Can anyone tell me if it is possible to have 2 entities, one of which is a weak entity, with multiple relationships between the 2. Obvisouly one relationship is already an identifying...

View Article

Connect to DB2 via ODBC

Hi, I have installed DB2 on Amazon EC2 server and i want to access it via odbc. Please help me out doing that. I am unable to create odbc connection with right settings. Regards

View Article

convert string date to mysql date

How do i convert a STRING DATE TO VALID MYSQL date AND UPDATE ADJACENT FIELD where origBUCert_crt is like 12/17/20012 UPDATE CertificationB set OrBuCert_crt= (STR_TO_DATE('origBUCert_crt','%d,%m,%Y'))...

View Article


How long takes to do Resume Full Text Index Population

Hi I have a table having 220 lakshs of records and one of the coulmn is Full Text enabled.We have used ContainsTable() to search for data, but we are unable to get results as expected. so we done...

View Article

Compile a program

Hi VB Gurus, I have compiled a simple program which includes an access file to store data. When I install the program on a different computer, VB cannot locate the access file. It complains of wrong...

View Article

Help in adding a data..

Can someone help me with this script.. Private Sub ClockIn_Click() Dim db As DAO.Database Dim rs2 As DAO.Recordset Set db = CurrentDb Set rs2 = db.OpenRecordset("TimeSheet", dbOpenSnapshot) rs2.AddNew...

View Article


Need Help with If and Where Clause to Show/Hide fields

When it comes to codes, I am a novice, so please come easy on me. Basically, I have added three new fields in my database (booking page) which relates to one particular client account, which means I do...

View Article


SQL Server - GROUP BY clause

SQL Server - GROUP BY clause Hi there, I need your help. Here is my problem. I tried this query in dbms SQL Server 2008 and I have this output: Code: Q        MAT        NUMBER 1F        MOL...

View Article

dynamic pivot on months

Aim – to get the last three months sales figures, from the date the report has been run, and put the the figures in separate columns associated with months.then provide a flag to give me indiciation if...

View Article

Change Table Field Name Error

I had a text field in a table called Status that was no longer used. I wanted to change it to a checkbox field called StatusInactive. I changed the field type and the field name in table design. After...

View Article

On New Record Add Value to Control

Okay, I have 2 bound fields. One called GirlID and one called Last Contacted. I want the date to be entered into this field (Last Contacted) when the user enters a new record. Should the code be On...

View Article


How can I use AVG() for small groups?

How do you use AVG in sql to manage grouped output? For example: Given a SQL Table “Employee” Name Salary City John Doe 15000 Seattle Jane Doe 30000 Redmond Tim Wayne 25000 Seattle Write a SQL query...

View Article

Help Subform Enter Parameter Value error

i have 2 form main form = "TanggalF" subform = "MerkFsubform" i have a query with 2 field "Combo28" and "Combo30" i use it in subform with query [Forms]![MerkFsubform]![Combo30] Combo30 is combo box on...

View Article


Image may be NSFW.
Clik here to view.

row number help

Hey guys i need some help with sampling data Please see my query below Please find attached screen print of the results once the query has been excuted However i have an issue, as you can see from my...

View Article

Image may be NSFW.
Clik here to view.

Dead In The Water!!!! and drowning QUICKLY

Here is my question and I hope someone can help me and hopefuly this question make some kind of sense? I want to be able to allow as many people as possible (Assigned To) to enter data on the form but...

View Article


substring a column in a view?

Hi all, perhaps a very triviel question but nethertheless I´m stuck on it. I want to create a view where one of the columns ('branche' a integer) is reduced so its only the first two numbers showing....

View Article

Orion Rhapsody Programmer/Analyst - relocation not required

Niche Technologists provides specialty-skilled IT and Finance technologists work opportunities, both full time positions and temporary consulting engagements, with client companies across the U.S....

View Article

Convert this class to SQL

Guys, I'm not that smart but I am trying to convert this Java class to SQL... it's killing me... any help would be appreciated... Thanks, public class CaseStateComponentImpl implements...

View Article
Browsing all 13329 articles
Browse latest View live