August 22, 2007 at 7:37 am
Hi Jeff,
I know how they are stored, but I'm not sure in which tables they are stored.
that if new rows of data has been inserted or updated into a table is there any process or table which shows that changes and which table holds them so that we can see that system table or information of newly inserted data.
If you know the answer please helpme out. May be I'm not so good as you,I'm in learning stage
Hi,
I was asked by interviewer, that if new rows of data has been inserted or updated into a table is there any process or table which shows that changes and which table holds them. and where are stored procedures, functions, cursors, triggers, views stored in a database
Thank you
Ok give me the answer
Regarding your first observation, yes, you can capture information for the very LAST record deleted, inserted, or updated (pick any ONE)
August 22, 2007 at 8:17 am
and what did you answer? were you being interviewed for a newspaper or magazine article, or for a position? what type of position?
Is there a question you'd like us to answer?
Regarding your first observation, yes, you can capture information for the very LAST record deleted, inserted, or updated (pick any ONE)
August 22, 2007 at 11:47 pm
Sorry... If your interview was for the postition of DBA and you do not know these things, you are simply not qualified to be a DBA.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 23, 2007 at 3:30 am
Hi Jeff,
I know how they are stored, but I'm not sure in which tables they are stored.
that if new rows of data has been inserted or updated into a table is there any process or table which shows that changes and which table holds them so that we can see that system table or information of newly inserted data.
If you know the answer please helpme out. May be I'm not so good as you,I'm in learning stage
August 23, 2007 at 3:48 am
For your first question, whether there is something to keep track of new or altered rows, the answer is likely to be about transaction logs. You can read about it if you search for write ahead logs (WAL). Basically the transaction log records all the row modifications, inserts and deletes, together with the table id.
"where are stored procedures, functions, cursors, triggers, views stored in a database" Have a look at system tables. Under SQL Server 2000 look at sysobjects, syscomments for a start (then search Books Online (comes with SQL Server)).
Regards,
Andras
August 23, 2007 at 8:21 am
Yes, there are some tables that know exactly which rows have changed... trying to teach you to "fish" a bit... read about "Triggers" in Books Online.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply