Viewing 15 posts - 9,376 through 9,390 (of 26,490 total)
I came up this:
create table testing (retained int, dropped int)
insert into testing (retained, dropped)
select 767884, 157441 union all
select 1046261, 157441 union all
select 1055257, 157441 union all
select 157441, 73635 union all
select...
September 24, 2012 at 10:26 am
SQL_beginner1 (9/24/2012)
I'm a newbie and this is my first post.
I'm trying to update a table based on a select query, but I'm getting the following error message when I try...
September 24, 2012 at 10:16 am
TravisDBA (9/24/2012)
It's all Bush's fault.:-D
Your opinion. Personally, you put the fault on all the politicians, regardless of political party or position. They afre more interested in their own...
September 24, 2012 at 8:55 am
SQL Kiwi (9/23/2012)
Lynn Pettis (9/23/2012)
September 23, 2012 at 12:13 pm
SQL Kiwi (9/23/2012)
Lynn Pettis (9/23/2012)
Once again, you post code that won't even parse. Your CREATE TABLE isn't valid:All that is missing in a final close-parenthesis for the CREATE TABLE.
True....
September 23, 2012 at 10:15 am
CELKO (9/22/2012)
I am trying to solve an issue and wondered if you could help, I'm relatively new to T-SQL
We also do not use bit flags; that was assembly...
September 23, 2012 at 9:58 am
SQLRNNR (9/21/2012)
SQL Kiwi (9/21/2012)
Brandie Tarvin (9/21/2012)
September 21, 2012 at 5:21 pm
TravisDBA (9/21/2012)
Lynn Pettis (9/21/2012)
TravisDBA (9/21/2012)
September 21, 2012 at 3:17 pm
krowley (9/21/2012)
September 21, 2012 at 2:59 pm
Using just your sample data (not the code you posted), is this what you are looking for?
WITH TestData (
corp_address_id,CompanyName,invoice_no,sales
) AS (
SELECT
corp_address_id,CompanyName,invoice_no,sales
FROM
(VALUES
(10010,'Wellservice',123,5),
(10010,'Wellservice',124,8),
(10010,'Wellservice',125,2))dt(corp_address_id,CompanyName,invoice_no,sales)
), BaseData...
September 21, 2012 at 2:44 pm
rocky_498 (9/21/2012)
sorry for this Confusion and Great...
September 21, 2012 at 2:19 pm
Based on the sample data you provided in your initial post, what is the expected results?
September 21, 2012 at 1:54 pm
A hardware or IO failure. Disk sectors can go bad on you.
September 21, 2012 at 1:49 pm
TravisDBA (9/21/2012)
September 21, 2012 at 1:27 pm
Sean Lange (9/21/2012)
You have been trying to work on this for over a month with various half-hearted attempts strewn all over this site. You need to realize that we...
September 21, 2012 at 1:12 pm
Viewing 15 posts - 9,376 through 9,390 (of 26,490 total)