SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Accessing Index values
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sgondesi
Posting Yak Master

India
194 Posts

Posted - 01/06/2014 :  06:54:49  Show Profile  Reply with Quote
Can we access an index value?

--
Thanks and Regards
Srikar Reddy Gondesi,
BTECH-IT 2013 Passed Out,
Trainee for SQL Server Administration,
Miracle Software systems, Inc.

visakh16
Very Important crosS Applying yaK Herder

India
52323 Posts

Posted - 01/06/2014 :  07:38:37  Show Profile  Reply with Quote
Sorry can you elaborate. WHat do you mean here by term "index value"?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

sgondesi
Posting Yak Master

India
194 Posts

Posted - 01/06/2014 :  08:02:17  Show Profile  Reply with Quote
quote:
Originally posted by visakh16

Sorry can you elaborate. WHat do you mean here by term "index value"?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs




I mean, can we access the uniquifier value which is given to a particular column value?

--
Thanks and Regards
Srikar Reddy Gondesi,
BTECH-IT 2013 Passed Out,
Trainee for SQL Server Administration,
Miracle Software systems, Inc.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52323 Posts

Posted - 01/06/2014 :  09:45:16  Show Profile  Reply with Quote
quote:
Originally posted by sgondesi

quote:
Originally posted by visakh16

Sorry can you elaborate. WHat do you mean here by term "index value"?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs




I mean, can we access the uniquifier value which is given to a particular column value?

--
Thanks and Regards
Srikar Reddy Gondesi,
BTECH-IT 2013 Passed Out,
Trainee for SQL Server Administration,
Miracle Software systems, Inc.


Are you asking about internal RowID generated in cases where you create non clustered indexes on a heap?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

sgondesi
Posting Yak Master

India
194 Posts

Posted - 01/06/2014 :  10:28:50  Show Profile  Reply with Quote
If there is an index on a column which has duplicate columns, then sql server will assign a uniquifier column to that column right?

i.e, a unique id which refers to each value of the column.

can we access this unique id or uniquifier?

--
Thanks and Regards
Srikar Reddy Gondesi,
BTECH-IT 2013 Passed Out,
Trainee for SQL Server Administration,
Miracle Software systems, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000