Enter Keywords:
1 - 10 of 22396(0.021 seconds)
Sort By:
 
I need to write an SQL Select statement where the result needs to return aggregate values grouped by a range of values. Easier to explain in an example: Table UnitsPerHour : Hour           Unit...
Zones: MS SQL ServerDate Answered: 04/07/2008 Rating: 9.7 Views: 16
Sql Server 2000 First, I have no control over the decision to allow overlapping time.  I'm "dealing" with the issue. :) I created a View that has a union of two tables.  Table A has billable ...
Zones: MS SQL ServerDate Answered: 05/08/2008 Rating: 9.4 Views: 0
My sql script which reconstructs a portion of a database does the following, which no doubt you're familiar with: IF OBJECT_ID('dbo.web_paths', 'U') IS NOT NULL   DROP TABLE web_paths; CREAT...
Zones: MS SQL Server, SQL SyntaxDate Answered: 05/19/2008 Rating: 9.4 Views: 0
I have following data in a table project_id --- customer_id --- product_line ---- Product ---- Quantity ---- Value ---- Div ---------------------------------------------------------------------...
Zones: SQL Server 2005, ...Date Answered: 07/02/2008 Rating: 8.2 Views: 0
I have a table with a numerical field that is the number of days since 1/1/1900. I need to produce a date in place of the numerical information. Can anyone tell me how to accomplish this?
Zones: MS SQL ServerDate Answered: 07/22/2008 Rating: 9.9 Views: 0
Hi All, This one has got me stumped. For sake of argument lets say I have two tables test_table_1 and test_table_2 with the following columns: test_table_1 : tt1ID (PK), tt0ID (FK) test_table_2...
Zones: MS SQL Server, SQL...Date Answered: 09/10/2008 Rating: 6.4 Views: 0
I am going through some design changes in my database.  Basically, I have written this SELECT statement that gets the data I want.  It puts a newly created "PositionID" with an employee based off o...
Zones: SQL Syntax, ...Date Answered: 09/10/2008 Rating: 9.1 Views: 0
Hi, I have a stored procedure that does not return the same records that when I run the query in the query analyzer. The query in query analyzer give me back the good recordings. The stored p...
Zones: MySQL Server, SQL SyntaxDate Answered: 10/25/2008 Rating: 7.4 Views: 0
I have 2 tables: Courses course_id  course_tile   location 1                into to cs      LA 2                intro to html   Boston 3                intro to ajax  SF StudentRegistrati...
Zones: SQL Server 2005Date Answered: 10/07/2008 Rating: 7.4 Views: 0
I have two questions. (1.) Besides needing to satisfy the first normal form, is the second normal applicable only to enitities/tables that have compound primary keys? Or can it be applicable to a ...
Zones: SQL Syntax, MS SQL Server, ASP.Net Programmi...Date Answered: 10/22/2008 Rating: 6.6 Views: 0