Viewing 3 posts - 121 through 123 (of 123 total)
vinu512 (9/6/2012)
Select a.IssID, a.subject, a.dessc,
MAX(Case When c.new_value = 'Accept' Then b.created_on Else NULL End) As Accepted_Date,
MAX(Case When c.new_value = 'Assign' Then...
September 6, 2012 at 12:15 pm
CREATE TABLE Iss
(
id BIGINT,
name Varchar(50)
)
CREATE TABLE Jou
(
id BIGINT,
iss_id BIGINT,
created_on DATETIME
)
CREATE TABLE Jd
(
id BIGINT,
jou_id BIGINT,
VARCHAR(10),
old_value varchar(10),
new_value varchar(10)
)
CREATE TABLE
(
id BIGINT,
name VARCHAR(50)
)
INSERT INTO (id, name) values (1,'Phase')
INSERT INTO (id, name)...
September 6, 2012 at 12:14 pm
Greg Snidow (9/5/2012)
CREATE TABLE dbo.YourNewTable
(
lssID INT IDENTITY(1,1),
[subject] VARCHAR(50),
[desc] VARCHAR(50),
Accepted_date DATE,
Assigned_date DATE
)
But seriously, what is the reason for this? If you turn...
September 5, 2012 at 11:41 am
Viewing 3 posts - 121 through 123 (of 123 total)