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. SQL SP [modified]

SQL SP [modified]

Scheduled Pinned Locked Moved Database
sharepointdatabasetutorial
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.
  • D Offline
    D Offline
    daku1
    wrote on last edited by
    #1

    how to create sp for username and password -- modified at 23:54 Thursday 8th March, 2007

    N 1 Reply Last reply
    0
    • D daku1

      how to create sp for username and password -- modified at 23:54 Thursday 8th March, 2007

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      make your question more clear

      daku1 wrote:

      how to create sp for username and password

      Do you want to create a procedure that can validate user name and password ? Then it could be something like this

      CREATE PROCEDURE ValidateProcedure
      (
      @Username varchar(20),
      @Password varchar(20)
      )

      AS

      Select * From UserTable Where UserNameColumn = @Username and PasswordColumn = @Password

      GO

      Get the result in some reader. If the reader has records then u r login is authenticated. If you want to make your password case sensitive then go through this snippet http://www.w3hearts.com/showsnippet.aspx?show=22

      Cheers Navaneeth!! www.w3hearts.com

      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