Solved

Select Current ID on insert page of the tables current ID

Posted on 2008-10-11
2
225 Views
Last Modified: 2012-06-22
I want to display the current id from the table idea so on the content managment insert idea page, I can let the administrator create a unique link to the details page.

Select  from dbo.idea
0
Comment
Question by:vonfranzken
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
Binuth earned 500 total points
ID: 22693505
If you want the last identity value generated for the table "idea" ,use

SELECT IDENT_CURRENT( 'idea' )
0
 

Author Comment

by:vonfranzken
ID: 22693525
anyway to add one to the end so that I can lessen the work for them?
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
EF5: Update Model from Database not working 3 73
Where clause to fliter varchar with Characters 12 53
Search Text in Views 2 25
VM SQL server license. 1 57
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question