Re: Enter Today's Date in SSMS Open Table Grid View



pwc (pcrickman@xxxxxxxxxxx) writes:
What date constants are available for entering today's date in a
datetime column after using the Open Table command within SSMS? I
have tried GETDATE() and CURRENT_TIMESTAMP, but neither worked.

You look at your watch, and the type what you see. Open Table is a very
simple data-entry tool.

If you don't want to consult your watch, you will have to write an INSERT
or an UPDATE statement instead.

Another question - if I open the samed named table in two databases to
compare the data contents using Open Table, the tab labels only
display the table name and are not fully qualified. Is there an SSMS
option to show the table labels fully qualified.

Yes, it's called SP2. That is, they've changed this in SP2 so that the
database name is included.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: View Columns do not show in Object Explorer
    ... up in SSMS, and that's where Object Explorer lives. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: SSMS Query Editor... Vs Query Analyser
    ... > close SSMS. ... > I'm just venting my frustration with the SQL 2005 tools. ... >> Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... >> Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Allow users to only see their mapped DBs
    ... When they open up SSMS today, ... see all the DBs; I want to restrict their view to only the DBs that ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: Loop / Cursor help
    ... Madhivanan writes: ... Watch this part of the output: ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Creating new user default to DB_owner role
    ... Removing the db_owner role during creation of the user causes SSMS to ... fail with an error because it tries to remove the user that is being ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)