Click here to Skip to main content
15,886,199 members
Home / Discussions / Database
   

Database

 
QuestionNeed help with an oracle UPDATE [modified] Pin
Kalyan_A6-Jun-10 23:02
professionalKalyan_A6-Jun-10 23:02 
AnswerRe: Need help with an oracle UPDATE Pin
Mycroft Holmes6-Jun-10 23:33
professionalMycroft Holmes6-Jun-10 23:33 
GeneralRe: Need help with an oracle UPDATE Pin
Kalyan_A6-Jun-10 23:41
professionalKalyan_A6-Jun-10 23:41 
GeneralRe: Need help with an oracle UPDATE Pin
Mycroft Holmes7-Jun-10 0:53
professionalMycroft Holmes7-Jun-10 0:53 
GeneralRe: Need help with an oracle UPDATE Pin
Kalyan_A7-Jun-10 5:12
professionalKalyan_A7-Jun-10 5:12 
AnswerRe: Need help with an oracle UPDATE Pin
David Skelly7-Jun-10 2:50
David Skelly7-Jun-10 2:50 
GeneralRe: Need help with an oracle UPDATE Pin
Kalyan_A7-Jun-10 5:11
professionalKalyan_A7-Jun-10 5:11 
QuestionRTF to TEXT Pin
Sebastian T Xavier6-Jun-10 20:45
Sebastian T Xavier6-Jun-10 20:45 
I have a RTF field in my SQL 2005 table, I need to convert it to Text and display it. After a quick research I got the following method... create function dbo.RTF2TXT(@in varchar(8000)) RETURNS varchar(8000) AS BEGIN

DECLARE @object int DECLARE @hr int DECLARE @out varchar(8000)

-- Create an object that points to the SQL Server EXEC @hr = sp_OACreate 'RICHTEXT.RichtextCtrl', @object OUT EXEC @hr = sp_OASetProperty @object, 'TextRTF', @in EXEC @hr = sp_OAGetProperty @object, 'Text', @out OUT EXEC @hr = sp_OADestroy @object return @out

END GO

select dbo.RTF2TXT('{\rtf1\ansi\ansicpg1252\uc1 aaa}')

But Here I am getting only NULL as result... What could be the issue, please suggest

Thanks
AnswerRe: RTF to TEXT Pin
Mycroft Holmes6-Jun-10 23:29
professionalMycroft Holmes6-Jun-10 23:29 
GeneralRe: RTF to TEXT Pin
Sebastian T Xavier6-Jun-10 23:40
Sebastian T Xavier6-Jun-10 23:40 
GeneralRe: RTF to TEXT Pin
Sebastian T Xavier6-Jun-10 23:43
Sebastian T Xavier6-Jun-10 23:43 
AnswerRe: RTF to TEXT Pin
J4amieC6-Jun-10 23:42
J4amieC6-Jun-10 23:42 
GeneralRe: RTF to TEXT Pin
Sebastian T Xavier6-Jun-10 23:51
Sebastian T Xavier6-Jun-10 23:51 
GeneralRe: RTF to TEXT Pin
Mycroft Holmes7-Jun-10 0:56
professionalMycroft Holmes7-Jun-10 0:56 
GeneralRe: RTF to TEXT Pin
Sebastian T Xavier7-Jun-10 1:22
Sebastian T Xavier7-Jun-10 1:22 
GeneralRe: RTF to TEXT Pin
Mycroft Holmes7-Jun-10 1:30
professionalMycroft Holmes7-Jun-10 1:30 
GeneralRe: RTF to TEXT Pin
Eddy Vluggen7-Jun-10 1:59
professionalEddy Vluggen7-Jun-10 1:59 
GeneralRe: RTF to TEXT Pin
Sebastian T Xavier7-Jun-10 3:19
Sebastian T Xavier7-Jun-10 3:19 
GeneralRe: RTF to TEXT Pin
Eddy Vluggen7-Jun-10 3:48
professionalEddy Vluggen7-Jun-10 3:48 
GeneralRe: RTF to TEXT Pin
Sebastian T Xavier7-Jun-10 4:25
Sebastian T Xavier7-Jun-10 4:25 
GeneralRe: RTF to TEXT Pin
Eddy Vluggen7-Jun-10 4:59
professionalEddy Vluggen7-Jun-10 4:59 
QuestionHas anyone run SQL Server 2000 Developer's Edition on Windows 2008? Pin
Xiangyang Liu 刘向阳3-Jun-10 12:52
Xiangyang Liu 刘向阳3-Jun-10 12:52 
QuestionINLINE FUNCTION Pin
It_tech3-Jun-10 4:18
It_tech3-Jun-10 4:18 
AnswerRe: INLINE FUNCTION Pin
J4amieC3-Jun-10 4:39
J4amieC3-Jun-10 4:39 
GeneralRe: INLINE FUNCTION Pin
It_tech3-Jun-10 5:51
It_tech3-Jun-10 5:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.