Does anybody know of a way to alter a time zone on a SQL database? Is there any tool that could find the objects using the date and time?
|
|
The easiest way I have used to see if any objects are using a particular command is syscomments. The text column of this table in SQL 2000 has the actual command that makes up the object. The caveat to this is if the procedure was created using WITH ENCRYPTION you will not be able to see or check the text column. I believe something like this should return what you are looking for:
|
|||
|
|
|
Assuming SQL Server
There is no timezone setting or changes possible inside SQL Server |
|||
|
|
|
To alter the database's timezone you might be able to use something like
The syntax varies from vendor to vendor. Some platforms rely on the host operating system instead. To get platform-specific answers, tag your question with the dbms you use--PostgreSQL, SQL Server, Oracle, etc. It's not clear what objects you want to find by date and time. |
|||||||
|