dbTalk Databases Forums  

export to .ics format

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss export to .ics format in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vincent Jones
 
Posts: n/a

Default export to .ics format - 07-12-2004 , 03:26 PM






How can I create a DTS Package to export data to an .ics
file in this layout? With the Cap names being the fields.
BEGIN:VCALENDAR
METHOD:PUBLISH
BEGIN:VEVENT
ORGANIZER:MAILTO:vJones (AT) philamuseum (DOT) org
DTSTART:20040805T190000Z
DTEND:20040805T203000Z
LOCATION:Pereleman
TRANSP:OPAQUE
SEQUENCE:0
DTSTAMP:20040803T023418Z
SUMMARY:Access: Training
PRIORITY:5
CLASS:PUBLIC

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: export to .ics format - 07-13-2004 , 01:06 AM






In article <2b7a501c4684e$958c8a90$a401280a (AT) phx (DOT) gbl>, Vincent Jones
wrote:
Quote:
How can I create a DTS Package to export data to an .ics
file in this layout? With the Cap names being the fields.
BEGIN:VCALENDAR
METHOD:PUBLISH
BEGIN:VEVENT
ORGANIZER:MAILTO:vJones (AT) philamuseum (DOT) org
DTSTART:20040805T190000Z
DTEND:20040805T203000Z
LOCATION:Pereleman
TRANSP:OPAQUE
SEQUENCE:0
DTSTAMP:20040803T023418Z
SUMMARY:Access: Training
PRIORITY:5
CLASS:PUBLIC

How is the actual data stored in the first place? If it is stored in a
table then you could build the output like this

SELECT 'BEGIN:' + colX + CHAR(13) + CHAR(10) + 'METHOD:' + colX1......
FROM TABLE


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
www.konesans.com - for all your consultancy needs





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.