• Webseitenerstellung und -hosting
  • .NET Anwendungsentwicklung
  • softwaregesteuerte Prozessoptimierung
  • .NET

    Programmierung

  • WebseitenErstellung

    undHosting

  • softwaregesteuerte

    Prozessoptimierung

  • Konzeption

    und Beratung

%AM, %01. %433 %2016 %09:%Dez

Der Werttyp __ComObject kann nur in Variablen des Typs Object konvertiert werden

geschrieben von
Artikel bewerten
(1 Stimme)

Nachdem ich ja nur schreibe wenn das Internet keine oder keine eindeutige Lösung anbietet hier der nächste kuriose Fall aus dem MS Gruselkabinett.

SQL Server Integration Servicves: Normale Zuweisung einer SQL Abfrage zu lokalen Variablen mittelts Resultset... Fehler:

 Der Werttyp __ComObject kann nur in Variablen des Typs Object konvertiert werden

Jetzt kommt man in die Versuchung die Variable auf den Typ "Object" zu ändern. Dann läuft der Task zwar sauber durch, allerdings kann man auf den gewollten Stringwert in der Objectvariable dann nicht mehr zugreifen. Dieser ist nämlich (lt. MS) eigentlich für die Zuweisung eines kompletten Resultsets (Array) gedacht. Selbst wenn man versucht die Variable via Script-Task zu zerlegen oder zu konvertieren kommt man auf keinen grünen Zweig. Glaubt mir, ich habs ein paar Stunden versucht...

Der Grund:

Datenbankspalten die als varchar(MAX) deklariert werden können einer String Variable nicht zugewiesen werden! 

...und da muss man erstmal draufkommen!!!! Bei Varchar geht man ja von String aus... Danke danke, Applaus brauche ich keine :-D

Viel Spaß weiterhin  mit SSIS

Optisch nochmal:

Gelesen 6404646 mal Letzte Änderung am %AM, %01. %450 %2016 %09:%Dez

93175 Kommentare

  • Kommentar-Link 飛機杯 %AM, %18. %296 %2023 %06:%Mai gepostet von 飛機杯

    I do believe all the ideas you've offered to your post.
    They're really convincing and can certainly work. Nonetheless, the posts
    are very brief for beginners. Could you please prolong them a bit
    from next time? Thanks for the post.

  • Kommentar-Link set building %AM, %18. %290 %2023 %05:%Mai gepostet von set building

    Heya i'm for the first time here. I found this board and I to find It truly helpful & it helped me out much.
    I hope to present something back and aid others like you aided me.

  • Kommentar-Link https://ctxt.io/2/AACQM7U_EA %AM, %18. %285 %2023 %05:%Mai gepostet von https://ctxt.io/2/AACQM7U_EA

    Every weekend i used to pay a quick visit this website,
    because i wish for enjoyment, since this this
    website conations truly fastidious funny material too.

  • Kommentar-Link joker 388 %AM, %18. %259 %2023 %05:%Mai gepostet von joker 388

    Hi to all, how is the whole thing, I think every one is getting more from this website, and your
    views are good designed for new viewers.

  • Kommentar-Link website %AM, %18. %241 %2023 %04:%Mai gepostet von website

    This ongoing Liberry Strteet Economics series analyzes disparities in economic and policy outcomes byy race, gender, age,region, revenue,
    and other things.

  • Kommentar-Link 이지알바 %AM, %18. %215 %2023 %04:%Mai gepostet von 이지알바

    Goes Out newsletter, wirh the week's ideal events, to enable you explore and expertise our city.

  • Kommentar-Link prescription drugs without the prescription %AM, %18. %209 %2023 %04:%Mai gepostet von prescription drugs without the prescription

    https://canadianpharmsl.com/

  • Kommentar-Link coloring pages printable %AM, %18. %188 %2023 %03:%Mai gepostet von coloring pages printable

    It's amazing to go to see this site and reading the views of all colleagues about this
    piece of writing, while I am also eager of getting knowledge.

  • Kommentar-Link Alexandra %AM, %18. %188 %2023 %03:%Mai gepostet von Alexandra

    Fastidious replies in return of this question with solid arguments and explaining all concerning that.

  • Kommentar-Link canadian pharmacies list %AM, %18. %184 %2023 %03:%Mai gepostet von canadian pharmacies list

    https://canadianpharmnow.com/

Schreibe einen Kommentar

Bitte achten Sie darauf, alle Felder mit Stern * zu füllen. HTML-Code ist nicht erlaubt.