I try to configure RS to export report as csv with fields delimited by
tab.
I can set it to be any value (eg. semicolon) but can not do that with
tab.
Is it possible?what symbol should i put into FieldDelimiter setting fro RS to
recognize it as <<TAB>>?|||Has somebody managed to configure RS to do that?
Thanks in advance.|||I have tried everything and nothing :(
It seems like there is a bug in RS,
RS is trimming tab value in FieldDelimiter config|||Try adding the following line in your rsreportServer.config file this should
work.
<Extension Name="TAB"
Type="Microsoft.ReportingServices.Rendering.CsvRenderer.CsvReport,Microsoft.ReportingServices.CsvRendering" Extension
= ".txt" FieldDelimiter = "%09" />
"kamel" wrote:
> I have tried everything and nothing :(
> It seems like there is a bug in RS,
> RS is trimming tab value in FieldDelimiter config
>
Showing posts with label delimited. Show all posts
Showing posts with label delimited. Show all posts
Friday, March 23, 2012
Wednesday, March 21, 2012
EXPORT
HI
How export sql table to ascii file delimited ?
VB 6.0, msde 2000
Thanks
Jose Perez
hi Jose,
Jose wrote:
> HI
> How export sql table to ascii file delimited ?
> VB 6.0, msde 2000
there's no direct solution... you can write your own "exporter", say using
ADO, or rely on an external binary, BCP.exe,
http://msdn.microsoft.com/library/de..._bcp_61et.asp,
located in the \Binn subfolder of MSDE installation..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.15.0 - DbaMgr ver 0.60.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
How export sql table to ascii file delimited ?
VB 6.0, msde 2000
Thanks
Jose Perez
hi Jose,
Jose wrote:
> HI
> How export sql table to ascii file delimited ?
> VB 6.0, msde 2000
there's no direct solution... you can write your own "exporter", say using
ADO, or rely on an external binary, BCP.exe,
http://msdn.microsoft.com/library/de..._bcp_61et.asp,
located in the \Binn subfolder of MSDE installation..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.15.0 - DbaMgr ver 0.60.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
Wednesday, March 7, 2012
Expanding a comma delimited field
Good Morning
I am having difficulty working out a simple method to expand a table
looking like this
Index string field
1 hat,coat,umbrella
2 dog,cat,wolf
3 boat,car
Into a new table like this
Index single string
1 hat
1 coat
1 umbrella
2 dog
2 cat
2 wolf
3 boat
3 car
I have looked at Arrays and lists in SQL server
but its not clear.
Can You help
Many Thanks
Davdi Hills
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!David
there are a few sites around detailing the algorithms you can use eg have a look at Vyas's site: http://vyaskn.tripod.com/passing_arrays_to_stored_procedures.htm
Regards
Paul Ibison|||David
SELECT IDENTITY(INT) "num" INTO Numbers
FROM sysobjects s1
CREATE TABLE Test1
(
COL INT NOT NULL,
COL1 VARCHAR(100) NOT NULL
)
INSERT INTO Test1 VALUES (1,'A,B,C')
INSERT INTO Test1 VALUES (2,'D,E,F')
GO
SELECT * FROM Test1
SELECT col,SUBSTRING(COL1,num,CHARINDEX(',',COL1+',',num)-num)
FROM numbers n left join Test1 t on t.col< num+(SELECT MAX(col)FROM Test1)
WHERE SUBSTRING(','+col1,num,1)=','
order by col
DROP TABLE Test1
"David Hills" <dhills@.pcfe.ac.uk> wrote in message
news:egXRAinMEHA.3400@.TK2MSFTNGP09.phx.gbl...
> Good Morning
> I am having difficulty working out a simple method to expand a table
> looking like this
> Index string field
> 1 hat,coat,umbrella
> 2 dog,cat,wolf
> 3 boat,car
>
> Into a new table like this
> Index single string
> 1 hat
> 1 coat
> 1 umbrella
> 2 dog
> 2 cat
> 2 wolf
> 3 boat
> 3 car
> I have looked at Arrays and lists in SQL server
> but its not clear.
> Can You help
> Many Thanks
> Davdi Hills
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
I am having difficulty working out a simple method to expand a table
looking like this
Index string field
1 hat,coat,umbrella
2 dog,cat,wolf
3 boat,car
Into a new table like this
Index single string
1 hat
1 coat
1 umbrella
2 dog
2 cat
2 wolf
3 boat
3 car
I have looked at Arrays and lists in SQL server
but its not clear.
Can You help
Many Thanks
Davdi Hills
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!David
there are a few sites around detailing the algorithms you can use eg have a look at Vyas's site: http://vyaskn.tripod.com/passing_arrays_to_stored_procedures.htm
Regards
Paul Ibison|||David
SELECT IDENTITY(INT) "num" INTO Numbers
FROM sysobjects s1
CREATE TABLE Test1
(
COL INT NOT NULL,
COL1 VARCHAR(100) NOT NULL
)
INSERT INTO Test1 VALUES (1,'A,B,C')
INSERT INTO Test1 VALUES (2,'D,E,F')
GO
SELECT * FROM Test1
SELECT col,SUBSTRING(COL1,num,CHARINDEX(',',COL1+',',num)-num)
FROM numbers n left join Test1 t on t.col< num+(SELECT MAX(col)FROM Test1)
WHERE SUBSTRING(','+col1,num,1)=','
order by col
DROP TABLE Test1
"David Hills" <dhills@.pcfe.ac.uk> wrote in message
news:egXRAinMEHA.3400@.TK2MSFTNGP09.phx.gbl...
> Good Morning
> I am having difficulty working out a simple method to expand a table
> looking like this
> Index string field
> 1 hat,coat,umbrella
> 2 dog,cat,wolf
> 3 boat,car
>
> Into a new table like this
> Index single string
> 1 hat
> 1 coat
> 1 umbrella
> 2 dog
> 2 cat
> 2 wolf
> 3 boat
> 3 car
> I have looked at Arrays and lists in SQL server
> but its not clear.
> Can You help
> Many Thanks
> Davdi Hills
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
Subscribe to:
Posts (Atom)