[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 484
  • Last Modified:

T-SQL: how to get the current column name

Hi, I am writing a cursor and I need to know column name for some cells.
Please advise, ideally with code sample.
Thank you in advance.
1 Solution
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Hi, your question is too vague to be actionable.
Please advise in greater detail what you are trying to pull off here.
Thank you in advance.
Aneesh RetnakaranDatabase AdministratorCommented:
Columns name will be in the cursor definition
show us the cursor you are writing

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now