![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I would like to know details about the table name starts with prefix in sql server 2000. Actually i'm working on existing code. The existing code insert a record into a table, but the table name in the code and table name in database are different Table name in database : tbl_mmm_ox In coding they are using table name as mmm only, the records are properly inserted into mmm table is it possible? The sample code is like that(using ado object) oCmd.CommandText = "INSERT INTO mmm (no,name) values (1,"mm")" The above code is perfectly working and inserting record into tbl_mmm_ox. Could anybody explain how is it possible? whether we can leave the prefix(tbl) and suffix(ox) and sql server take care of this? Thanks & Regards, Mani |
#3
| |||
| |||
|
|
Hi, I would like to know details about the table name starts with prefix in sql server 2000. Actually i'm working on existing code. The existing code insert a record into a table, but the table name in the code and table name in database are different Table name in database : tbl_mmm_ox In coding they are using table name as mmm only, the records are properly inserted into mmm table is it possible? The sample code is like that(using ado object) oCmd.CommandText = "INSERT INTO mmm (no,name) values (1,"mm")" The above code is perfectly working and inserting record into tbl_mmm_ox. Could anybody explain how is it possible? whether we can leave the prefix(tbl) and suffix(ox) and sql server take care of this? Thanks & Regards, Mani |
#4
| |||
| |||
|
|
Sounds like a View -- Jack Vamvas ___________________________________ Advertise your IT vacancies for free at -http://www.ITjobfeed.com plmanikan... (AT) gmail (DOT) com> wrote in message news:1174495141.918629.74950 (AT) d57g2000hsg (DOT) googlegroups.com... Hi, I would like to know details about the table name starts with prefix in sql server 2000. Actually i'm working on existing code. The existing code insert a record into a table, but the table name in the code and table name in database are different Table name in database : tbl_mmm_ox In coding they are using table name as mmm only, the records are properly inserted into mmm table is it possible? The sample code is like that(using ado object) oCmd.CommandText = "INSERT INTO mmm (no,name) values (1,"mm")" The above code is perfectly working and inserting record into tbl_mmm_ox. Could anybody explain how is it possible? whether we can leave the prefix(tbl) and suffix(ox) and sql server take care of this? Thanks & Regards, Mani |
#5
| |||
| |||
|
|
On Mar 21, 7:45 pm, "Jack Vamvas" <DEL_TO_RE... (AT) del (DOT) com> wrote: Sounds like a View -- Jack Vamvas ___________________________________ Advertise your IT vacancies for free at -http://www.ITjobfeed.com plmanikan... (AT) gmail (DOT) com> wrote in message news:1174495141.918629.74950 (AT) d57g2000hsg (DOT) googlegroups.com... Hi, I would like to know details about the table name starts with prefix in sql server 2000. Actually i'm working on existing code. The existing code insert a record into a table, but the table name in the code and table name in database are different Table name in database : tbl_mmm_ox In coding they are using table name as mmm only, the records are properly inserted into mmm table is it possible? The sample code is like that(using ado object) oCmd.CommandText = "INSERT INTO mmm (no,name) values (1,"mm")" The above code is perfectly working and inserting record into tbl_mmm_ox. Could anybody explain how is it possible? whether we can leave the prefix(tbl) and suffix(ox) and sql server take care of this? Thanks & Regards, Mani Thanks friends.It's view only.find that view after posting this message. Is it wise to use a view to insert the record. Is there any performance issue may come due to this view. I would like to know the opinion on this? Thanks & Regards, Mani |
#6
| |||
| |||
|
|
what would be the goal of inserting via the VIEW rather than inserting into the underlying tables? it depends on the complexity and who your users are? |
#7
| |||
| |||
|
|
Is it wise to use a view to insert the record. |
|
Is there any performance issue may come due to this view. |
#8
| |||
| |||
|
|
Is it wise to use a view to insert the record. Is there any performance issue may come due to this view. I would like to know the opinion on this? |
|
On Mar 21, 7:45 pm, "Jack Vamvas" <DEL_TO_RE... (AT) del (DOT) com> wrote: Sounds like a View -- Jack Vamvas ___________________________________ Advertise your IT vacancies for free at -http://www.ITjobfeed.com plmanikan... (AT) gmail (DOT) com> wrote in message news:1174495141.918629.74950 (AT) d57g2000hsg (DOT) googlegroups.com... Hi, I would like to know details about the table name starts with prefix in sql server 2000. Actually i'm working on existing code. The existing code insert a record into a table, but the table name in the code and table name in database are different Table name in database : tbl_mmm_ox In coding they are using table name as mmm only, the records are properly inserted into mmm table is it possible? The sample code is like that(using ado object) oCmd.CommandText = "INSERT INTO mmm (no,name) values (1,"mm")" The above code is perfectly working and inserting record into tbl_mmm_ox. Could anybody explain how is it possible? whether we can leave the prefix(tbl) and suffix(ox) and sql server take care of this? Thanks & Regards, Mani Thanks friends.It's view only.find that view after posting this message. Is it wise to use a view to insert the record. Is there any performance issue may come due to this view. I would like to know the opinion on this? Thanks & Regards, Mani |
![]() |
| Thread Tools | |
| Display Modes | |
| |