-
insert into tnsnames (protocol, community)
values ('tcp', 'tcp.world')
where sid = 'DM5A'
I keep getting sql command not properly ended??
what am i doing wrong
-
It looks from your post as if the record already exists - if so, you want to do an update, not an insert.
Jan
-
WHERE clause should be NOT be used with INSERT statements. I think, there is already an existing record in the table and hence, you might want to update the existing one. Guess, this is what your ultimate goal is.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|