Hi,
I'm looking for read the field note on the table record link in sql server.
I have find how read the field record ID with that :
SELECT CONVERT(varchar,substring([Record ID],8, LEN([Record ID]))) as 'ID',* FROM [Record Link]
But I can't find how read the field note in sql ](*,)
Any ideas ?
Thank for your help
Answers
Make .Net Assembly that uses BinaryReader to Read the data and give it back as string. Register that assembly in SQL Server. Call the assembly.
And here is a tutorial on how to register an assembly to sql server:
http://www.codeproject.com/KB/database/ ... n_SQL.aspx
Basicly you need call these T-SQL statements to Get a Result:
IMPORTANT: You need to set the Property "Compressed" on the Note field in Table "Record Link" to false, otherwise you will get compressed output => nonsense
Msg 6505,
The type 'SQLProcedures.NAVNoteHandler' is not found in the assembly 'ClassLibrary1'.
Nevertheless I see my assembly in my database -> Assembly -> NAVNoteHandler
My NavNoteHandler.cs :
Where is the error ?
Thanks for you help
I'm sorry for my English, I'm French...
Where are you going for to find this property ?
I use SQL Server 2008 x64 / Nav 2009 SP1 RTC
Screenshot
Thanks for your help
Thank you very much. =D> =D>
Good day
after setting the field property "compressed" to NO, some client (RTC) for some users only crashed. Any idea?
thanx a lot
regards
CHris
Please post these logs
And since it's only for some clients, Are you using the same builds on all clients? Which build are you using?
However when I run the function it only shows 'D' as a result for every record from the [Record Link] table.
What am I doing wrong?