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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Permission sp_rename

Permission sp_rename

Scheduled Pinned Locked Moved Database
databasesharepointsysadminhelpquestion
2 Posts 2 Posters 2 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.
  • C Offline
    C Offline
    Clas Andersson
    wrote on last edited by
    #1

    I am creating a dynamic pivot-table with web - sql-server 2008 When the pivot-table is created i want to rename columnname. I am execute a stored procedure, sp_rename..... from the web-page. Web-page - select variablesnames Web-page - variablesname --> short columnname SQl-server - create pivot table (dynamic sql, short columnnames - 4000 char limit) Web-page/Sql-server - rename short columnnames to variablesnames The problem is the permission to execute sp_rename . How/where can I adjust permission for the the "webuser" in sql-server ? Thanks in advance Clas

    M 1 Reply Last reply
    0
    • C Clas Andersson

      I am creating a dynamic pivot-table with web - sql-server 2008 When the pivot-table is created i want to rename columnname. I am execute a stored procedure, sp_rename..... from the web-page. Web-page - select variablesnames Web-page - variablesname --> short columnname SQl-server - create pivot table (dynamic sql, short columnnames - 4000 char limit) Web-page/Sql-server - rename short columnnames to variablesnames The problem is the permission to execute sp_rename . How/where can I adjust permission for the the "webuser" in sql-server ? Thanks in advance Clas

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      I am assuming that you need this table only for display on your form, in which case why don't you rename the columns in the UI!

      Never underestimate the power of human stupidity RAH

      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