|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, December 26, 2012 12:43 PM
Points: 1,330,
Visits: 455
|
|
As simple as it is:
-- Query USE [MyDataBase] GO
TableName -- Bold shows that it is selected -- Now Press Alt+F1
I think it is very easy and self explanatory. See the attachment
Cheers, Hari Tips & Tricks for SQL BI Developers
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, October 04, 2012 9:20 AM
Points: 583,
Visits: 1,060
|
|
Yeah so if I got it wrong cos I obviously havent answered it yet as that would be next month can i have the point back til 15th August and then lose it? :D
This question is very poor in explanation of what it is asking, like when would you push the help button combo i.e. within a query window or within object explorer?
The QOTD posters should know what pedants we all are - precision is key ambiguity leads to hell :D
--Shaun
Hiding under a desk from SSIS Implemenation Work
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, September 24, 2008 1:27 PM
Points: 350,
Visits: 229
|
|
Hari.Sharma (7/15/2008) As simple as it is:
-- Query USE [MyDataBase] GO
TableName -- Bold shows that it is selected -- Now Press Alt+F1
I think it is very easy and self explanatory. See the attachment
Tried that and still got the same error. However, if I removed dbo from the table name, it worked.
Learnt something new, and still earned a point
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, December 26, 2012 12:43 PM
Points: 1,330,
Visits: 455
|
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 3:04 PM
Points: 13,375,
Visits: 25,159
|
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, October 04, 2012 9:20 AM
Points: 583,
Visits: 1,060
|
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 3:04 PM
Points: 13,375,
Visits: 25,159
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, September 24, 2008 1:27 PM
Points: 350,
Visits: 229
|
|
Shaun McGuile (7/15/2008)
Grant Fritchey (7/15/2008) Well it sure doesn't work by default. I tried it in 2005 and 2008 and received nothing. I also note, that the answer, ALT-F1, is not listed in the documentation linked to. I'm calling shenanigans on this one.Grant: You gotta do it by highlighting the object name possibly surrounded by double quotes (if of the form schema.object e.g. "dbo.tableX" ) in a query window for it to work.   Not a good question! 
Thats right. As Øystein Fallo originally pointed out, to have the schema with the table name (e.g. dbo.Test), you need double quotes around (so "dbo.Test"), whereas if it is just the table name alone (e.g. Test), then no double quotes are needed (so Test).
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, October 04, 2012 9:20 AM
Points: 583,
Visits: 1,060
|
|
I don't get it whats the point?
How does the functionality help me the DBA/Developer?
It gives me info on a table or proc which I could get elsewhere and more easily.
Hiding under a desk from SSIS Implemenation Work
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 6:41 AM
Points: 2,440,
Visits: 713
|
|
Did anyone else notice the date for this QOTD is a month in the future?
Doc Brown rules!
Was that weird or what!
Jamie
|
|
|
|