Click here to Skip to main content
15,914,066 members
Home / Discussions / Database
   

Database

 
QuestionSyntax error converting character string to smalldatetime data type..., Pin
Member 387988131-Jul-07 20:00
Member 387988131-Jul-07 20:00 
AnswerRe: Syntax error converting character string to smalldatetime data type..., [modified] Pin
Pete O'Hanlon1-Aug-07 0:45
mvePete O'Hanlon1-Aug-07 0:45 
QuestionHelp with update query Pin
student_rhr31-Jul-07 19:36
student_rhr31-Jul-07 19:36 
AnswerRe: Help with update query Pin
Prakash_Mishra31-Jul-07 20:52
Prakash_Mishra31-Jul-07 20:52 
Questiontable name Pin
hos8531-Jul-07 14:46
hos8531-Jul-07 14:46 
AnswerRe: table name Pin
Christian Graus31-Jul-07 18:44
protectorChristian Graus31-Jul-07 18:44 
AnswerRe: table name Pin
Aaron VanWieren31-Jul-07 23:21
Aaron VanWieren31-Jul-07 23:21 
AnswerRe: table name Pin
Pete O'Hanlon1-Aug-07 0:32
mvePete O'Hanlon1-Aug-07 0:32 
If you are using SQL Server 2000, you would rename it using the sp_rename method. Suppose that you are renaming a table called MyTable to My_Table, you would run exec sp_rename 'MyTable', 'My_Table'.

It is important for you to be aware though that this is a very dangerous operation to undertake and you shouldn't do so lightly. When you rename an object like this you don't get any form of dependency checking and, as a result, anything that relies on the table being called MyTable will fail. Some areas that you would need to check include your stored procedures, views, functions. Don't forget to check your DTS packages as well - I've lost count of the number of times I've seen DTS packages failing because somebody renamed a table and didn't bother to update the mappings inside DTS.

Finally, make sure that you don't expose this functionality to the outside world. Do not, under any circumstance, allow any client code to do this - it WILL break things.

Deja View - the feeling that you've seen this post before.

QuestionGetting the sum? ADO related Pin
deostroll31-Jul-07 13:40
deostroll31-Jul-07 13:40 
QuestionReplace function not work in access database Pin
Rupesh Kumar Swami31-Jul-07 5:53
Rupesh Kumar Swami31-Jul-07 5:53 
AnswerRe: Replace function not work in access database Pin
DQNOK1-Aug-07 4:41
professionalDQNOK1-Aug-07 4:41 
QuestionSQL Server 2000 xp_SendMail fails Pin
Kiefie31-Jul-07 4:44
Kiefie31-Jul-07 4:44 
QuestionQuerying for unused parent entries Pin
GregStevens31-Jul-07 4:35
GregStevens31-Jul-07 4:35 
AnswerRe: Querying for unused parent entries Pin
Kiefie31-Jul-07 5:03
Kiefie31-Jul-07 5:03 
GeneralRe: Querying for unused parent entries Pin
GregStevens31-Jul-07 5:18
GregStevens31-Jul-07 5:18 
GeneralRe: Querying for unused parent entries Pin
Kiefie31-Jul-07 20:06
Kiefie31-Jul-07 20:06 
AnswerRe: Querying for unused parent entries Pin
Pete O'Hanlon31-Jul-07 10:11
mvePete O'Hanlon31-Jul-07 10:11 
GeneralRe: Querying for unused parent entries Pin
Mike Dimmick31-Jul-07 12:28
Mike Dimmick31-Jul-07 12:28 
GeneralRe: Querying for unused parent entries Pin
Pete O'Hanlon1-Aug-07 0:09
mvePete O'Hanlon1-Aug-07 0:09 
GeneralRe: Querying for unused parent entries Pin
GregStevens1-Aug-07 4:56
GregStevens1-Aug-07 4:56 
Questionnewbie question: update across 2 tables Pin
spin vector31-Jul-07 2:50
spin vector31-Jul-07 2:50 
AnswerRe: newbie question: update across 2 tables Pin
Mike Dimmick31-Jul-07 3:03
Mike Dimmick31-Jul-07 3:03 
QuestionPart of Date Field Pin
Brendan Vogt31-Jul-07 1:14
Brendan Vogt31-Jul-07 1:14 
AnswerRe: Part of Date Field Pin
pmarfleet31-Jul-07 2:11
pmarfleet31-Jul-07 2:11 
GeneralRe: Part of Date Field Pin
Mike Dimmick31-Jul-07 2:57
Mike Dimmick31-Jul-07 2:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.