Viewing 15 posts - 16 through 30 (of 39 total)
My table column datatype is
[nvarchar](max) NULL,
The data is imported from xml, so it is coming in new line with carriage return
January 16, 2014 at 2:49 pm
I am unable to get result since,
My Table column is having data as stored as below in the nvarchar(max) datatype
---------------------------------------------------------------------------------
'(Type is HO) and
(Location is Europe)...
January 16, 2014 at 2:37 pm
declare @t table
(
s varchar(8000)
)
insert @t
values('(Location is Asia)'),
('(Location is Asia and Location is Africa)and Branch in AR and Branch in SE'),
('(Location is Europe)and Branch in AR and Branch in SE'),
('(Type is...
January 16, 2014 at 1:30 pm
CREATE TABLE #SampleData(
SomeTextvarchar(1000))
INSERT #SampleData SELECT
'( Branch is not CA and Branch is not MX)' UNION ALL SELECT
'( Branch is not CA and Branch...
January 15, 2014 at 2:56 pm
Thanks Luis for the code.
How to send them to different column ?
Like,
select dbo.GetRelevantCity(ColumnA , 'BI') as BranchIn , dbo.GetRelevantCity(ColumnA, 'BN') as BranchNotIn ,
dbo.GetRelevantCity(ColumnA, 'BN') as OtherInfo from...
January 15, 2014 at 8:48 am
dwain.c (1/9/2014)
WITH rCTE AS
(
SELECT b.Mode_ID, b.Mode_info, Mode_Detail=Mode_info, QA, QC, QY, Mode_Sno, b.Has_Nodes
FROM Travel_Quantity a
JOIN Travel_Master...
January 9, 2014 at 10:33 pm
Since my Values are NULL, I was not getting the complete result for QY Column.
Instead of
ROADAUDI0084
ROADBMW0036
I need result as.. calculation against the immediate parent only.
ROADAUDI0018
ROADBMW0042
Kindly suggest
January 9, 2014 at 10:22 pm
Hi,
Thanks for your SQLQuery !
But, In The QY Column, I am NOT getting values for all chils.
Data is showing only for
CAR BMW ...
January 9, 2014 at 10:17 pm
Sean Lange (1/9/2014)
Shanmuga Raj (1/9/2014)
Sean Lange (1/9/2014)
January 9, 2014 at 12:33 pm
Luis Cazares (1/9/2014)
January 9, 2014 at 12:28 pm
Sean Lange (1/9/2014)
I think that...
January 9, 2014 at 11:42 am
Error In My query, I need to have ROAD instead of car.
Expexted
AIR 0
SEA SHIP ...
December 22, 2013 at 1:53 am
below is the solution
thanks
with cte
as (select load_id
,mode_sno
...
December 21, 2013 at 2:33 am
dwain.c (12/19/2013)
VALUES(a.[Product Id], SubProduct, NULL), (a.[Product Id], NULL,...
December 20, 2013 at 4:27 am
Viewing 15 posts - 16 through 30 (of 39 total)