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. Web Development
  3. ASP.NET
  4. SQL server 2005

SQL server 2005

Scheduled Pinned Locked Moved ASP.NET
questiondatabasesql-serversysadminhelp
4 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.
  • S Offline
    S Offline
    sundaramoorthy b
    wrote on last edited by
    #1

    Hi to all, I have values in sql table like RollNumber ---------------- 101,102,103 ---------------- Now i need get count of this cell, how can i get????? anyone help me...... Thanks in advance......

    D U A 3 Replies Last reply
    0
    • S sundaramoorthy b

      Hi to all, I have values in sql table like RollNumber ---------------- 101,102,103 ---------------- Now i need get count of this cell, how can i get????? anyone help me...... Thanks in advance......

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      select count(*),RollNumber from group by RollNumber remember to vote !

      1 Reply Last reply
      0
      • S sundaramoorthy b

        Hi to all, I have values in sql table like RollNumber ---------------- 101,102,103 ---------------- Now i need get count of this cell, how can i get????? anyone help me...... Thanks in advance......

        U Offline
        U Offline
        UTHIRASAMY
        wrote on last edited by
        #3

        select count(firstField1),count(firstField2),count(firstField3)from tblname group by firstField1,firstField2,firstField3

        1 Reply Last reply
        0
        • S sundaramoorthy b

          Hi to all, I have values in sql table like RollNumber ---------------- 101,102,103 ---------------- Now i need get count of this cell, how can i get????? anyone help me...... Thanks in advance......

          A Offline
          A Offline
          AshishChaudha
          wrote on last edited by
          #4

          comma (,) seperated rollno in a single field?? clarify please

          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