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. General Programming
  3. C#
  4. Pls help urgent

Pls help urgent

Scheduled Pinned Locked Moved C#
databasehelpquestion
5 Posts 4 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.
  • N Offline
    N Offline
    Nishad85
    wrote on last edited by
    #1

    Pls help me to correct this query? SELECT Day.Name,iff(Morning,'Yes','No')+','+iff(Afternoon,'Yes','No')+','+ iff(Evening,'Yes','No') as Session3 FROM Session INNER JOIN Day ON Session.SessionID= Day.SessionID

    C 1 Reply Last reply
    0
    • N Nishad85

      Pls help me to correct this query? SELECT Day.Name,iff(Morning,'Yes','No')+','+iff(Afternoon,'Yes','No')+','+ iff(Evening,'Yes','No') as Session3 FROM Session INNER JOIN Day ON Session.SessionID= Day.SessionID

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      sajin85 wrote:

      Pls help me to correct this query?

      What is wrong with it? What is it supposed to do? What database system is it for? Why is this not in the SQL forum? What does this have to do with C#?


      Upcoming FREE developer events: * Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ... My website

      D 1 Reply Last reply
      0
      • C Colin Angus Mackay

        sajin85 wrote:

        Pls help me to correct this query?

        What is wrong with it? What is it supposed to do? What database system is it for? Why is this not in the SQL forum? What does this have to do with C#?


        Upcoming FREE developer events: * Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ... My website

        D Offline
        D Offline
        DavidNohejl
        wrote on last edited by
        #3

        Colin Angus Mackay wrote:

        What is wrong with it? What is it supposed to do? What database system is it for? Why is this not in the SQL forum? What does this have to do with C#?

        You don't know? You are supposed to be the expert oracle here! ;P


        [My Blog]
        "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
        "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

        P 1 Reply Last reply
        0
        • D DavidNohejl

          Colin Angus Mackay wrote:

          What is wrong with it? What is it supposed to do? What database system is it for? Why is this not in the SQL forum? What does this have to do with C#?

          You don't know? You are supposed to be the expert oracle here! ;P


          [My Blog]
          "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
          "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          dnh wrote:

          You don't know? You are supposed to be the expert oracle here!

          Don't insult him. He's the Sql Server around here.;P

          Deja View - the feeling that you've seen this post before.

          C 1 Reply Last reply
          0
          • P Pete OHanlon

            dnh wrote:

            You don't know? You are supposed to be the expert oracle here!

            Don't insult him. He's the Sql Server around here.;P

            Deja View - the feeling that you've seen this post before.

            C Offline
            C Offline
            Colin Angus Mackay
            wrote on last edited by
            #5

            :laugh: :laugh: :laugh: Very good!


            Upcoming FREE developer events: * Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ... My website

            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