Viewing 15 posts - 1 through 15 (of 16 total)
Koen Verbeeck (5/1/2012)
May 3, 2012 at 1:01 pm
SQLKnowItAll (4/11/2012)
As it many times is 🙂 I'm out of guesses...
Thanks as always.
I wonder if there is a way to force sql server to restrict the ANSI conversion values between...
April 11, 2012 at 4:50 pm
SQLKnowItAll (4/11/2012)
Lynn Pettis (4/11/2012)
Murphy'sLaw (4/11/2012)
SQLKnowItAll (4/11/2012)
April 11, 2012 at 3:34 pm
SQLKnowItAll (4/11/2012)
April 11, 2012 at 3:15 pm
SGT_squeequal (4/11/2012)
April 11, 2012 at 2:43 pm
Sean Lange (4/10/2012)
April 10, 2012 at 10:52 am
bitbucket-25253 (4/9/2012)
CREATE TABLE [dbo].[Table_3](
[Col1] [nvarchar](50) NULL,
[Col2] [nvarchar](50) NULL,
[Col3] [nvarchar](50) NULL
) ON [PRIMARY]
INSERT INTO dbo.Table_3
SELECT NULL,NULL,'d' UNION ALL
SELECT 'X',NULL,NULL UNION ALL
SELECT NULL,NULL,NULL UNION ALL
SELECT NULL,'X','C' UNION...
April 9, 2012 at 10:15 pm
Jack Corbett (4/4/2012)
Murphy'sLaw (4/4/2012)
Jack Corbett (4/4/2012)
April 4, 2012 at 5:45 pm
Jack Corbett (4/4/2012)
April 4, 2012 at 10:00 am
SQLKnowItAll (4/3/2012)
Sean Lange (4/3/2012)
I think you mean ASCII not ANSI???
What Sean is saying here is that ANSI is not a results type, it is a standard. ASCII is a character...
April 3, 2012 at 6:31 pm
Mark Fitzgerald-331224 (4/2/2012)
April 3, 2012 at 12:55 pm
ColdCoffee (3/1/2012)
Isnt it straight forward UPDATE?
Update t1
set finalprice = price * 100
My bad i din't do a good job in replicating the situation. that was simple update....
March 1, 2012 at 8:10 pm
select prod_id,Order_id,
SUM(case when Saledate='1/10/2012' THEN Quantity else NULL END) as [10th Jan],
SUM(case when Saledate='1/11/2012' THEN Quantity else NULL END) as [11th Jan],
SUM(case when Saledate='1/12/2012' THEN Quantity else NULL...
February 4, 2012 at 6:14 pm
preetpalkapoor (2/4/2012)
I have a question to be solved. Its a tricked one for me as i am not that much of experience.
prod_idsale_dateorder_idquantity
p1 ...
February 4, 2012 at 6:07 pm
wiseman82 (2/2/2012)
I've never cared much for the new syntax, but you can also use:
SELECT ID,
NAME,
pvt.Home,
pvt.Office
FROM PivotTable
PIVOT(
MAX(PhoneNumber)
FOR [TYPE] IN([Home],[Office])
) AS pvt
thanks.really helpful.
February 2, 2012 at 4:11 pm
Viewing 15 posts - 1 through 15 (of 16 total)