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. View

View

Scheduled Pinned Locked Moved Database
databasesql-servercomsysadminquestion
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.
  • S Offline
    S Offline
    Sebastien Lachance
    wrote on last edited by
    #1

    I need to do a view to export data from SQL Server to FileMaker. So far everything is ok, but now I need to convert a value of a string to another. I also need to do some Select case, If statement in the view to be compatible with FileMaker. Is there a way to do that in a View ? sebastien.lachance.blogspot.com

    M 1 Reply Last reply
    0
    • S Sebastien Lachance

      I need to do a view to export data from SQL Server to FileMaker. So far everything is ok, but now I need to convert a value of a string to another. I also need to do some Select case, If statement in the view to be compatible with FileMaker. Is there a way to do that in a View ? sebastien.lachance.blogspot.com

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Hi Sebastien. Well, I'm gleaning from your question that you may be interested in the SQL Server CASE function, which you can put in the SELECT statement for the view. Look it up in the SQL Server books online (specifically the T/SQL documentation) and see if that's what you're looking for. Here's an article about using the CASE statement: http://www.4guysfromrolla.com/webtech/102704-1.shtml[^]

      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