Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Change Data Capture is not capturing before value for the Images

Change Data Capture is not capturing before value for the Images

Scheduled Pinned Locked Moved Database
collaborationhelpannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    indian143
    wrote on last edited by
    #1

    Hi, I have a table which has many Columns among those Columns two Columns hold Image Datatypes, when we update the Table contents CDC is Capturing fine but its not capturing the before value for it but it is capturing the after value though. I am not sure is it happening because of the Entity Framework or CDC or my team is implementing Image update in a wrong way. Please any type of help a code snippet, a link or even a suggestion helps me a lot - thanks in advance buddies.

    Thanks, Abdul Aleem "There is already enough hatred in the world lets spread love, compassion and affection."

    L 1 Reply Last reply
    0
    • I indian143

      Hi, I have a table which has many Columns among those Columns two Columns hold Image Datatypes, when we update the Table contents CDC is Capturing fine but its not capturing the before value for it but it is capturing the after value though. I am not sure is it happening because of the Entity Framework or CDC or my team is implementing Image update in a wrong way. Please any type of help a code snippet, a link or even a suggestion helps me a lot - thanks in advance buddies.

      Thanks, Abdul Aleem "There is already enough hatred in the world lets spread love, compassion and affection."

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      MSDN[^] states:

      By default, the maximum size that can be added to a captured column in a single INSERT, UPDATE, WRITETEXT, or UPDATETEXT statement is 65,536 bytes or 64 KB.

      What is the size of your blob? Does it work with nvarchar(max)?

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups