Jump to content

Ms Sql Server Technology Discussions


9Pardhu

Recommended Posts

Delete and truncate lo Rollback vaadachu kadaa... only Delete antaaru entii, I can do truncate rollback asloo in the SSMS.

 some one explain... Loveindia

you can do any DML statements between

 

Begin Tran

 

---

---

---

 

Rollback

 

it will rollback watever u do

Link to comment
Share on other sites

you can do any DML statements between

 

Begin Tran

 

---

---

---

 

Rollback

 

it will rollback watever u do

ilaa try chesteyy work ayindiii...

 

Begin Tran
 
Truncate table Test
 
Rollback Tran
 
but Truncate DML kaadu akda its DDL...Y antaav its working its rolling back the transaction changes
Link to comment
Share on other sites

 

ilaa try chesteyy work ayindiii...

 

Begin Tran
 
Truncate table Test
 
Rollback Tran
 
but Truncate DML kaadu akda its DDL...Y antaav its working its rolling back the transaction changes

 

Thats the power of ROLLBACK :)

 

na sagam testing ah syntax lone chestha :D

Link to comment
Share on other sites

 

ilaa try chesteyy work ayindiii...

 

Begin Tran
 
Truncate table Test
 
Rollback Tran
 
but Truncate DML kaadu akda its DDL...Y antaav its working its rolling back the transaction changes

 

 

 

i guess truncate iz lyk dropping the whole object n recreating it.... so its not manipulating the structure... but its defining the structure... 

Link to comment
Share on other sites

i guess truncate iz lyk dropping the whole object n recreating it.... so its not manipulating the structure... but its defining the structure... 

oka interview looo.. ee Qn ki answer chesinaa  We cant rollbacl Truncate , but delete can be done ani.. Vaduu vadinchaaduu Y cant we do can you explain it aniii.. appudu cehsaa ee test and it was working as he said.

Link to comment
Share on other sites

oka interview looo.. ee Qn ki answer chesinaa  We cant rollbacl Truncate , but delete can be done ani.. Vaduu vadinchaaduu Y cant we do can you explain it aniii.. appudu cehsaa ee test and it was working as he said.

DBZo90.gif

Link to comment
Share on other sites

i guess truncate iz lyk dropping the whole object n recreating it.... so its not manipulating the structure... but its defining the structure... 

DBZo90.gif

Link to comment
Share on other sites

oka interview looo.. ee Qn ki answer chesinaa  We cant rollbacl Truncate , but delete can be done ani.. Vaduu vadinchaaduu Y cant we do can you explain it aniii.. appudu cehsaa ee test and it was working as he said.

 

 

untaaruu.. ala saava10gevallu untaaruu....

Link to comment
Share on other sites

eeda galeez cheyyaku.. baitiki poi oopkoopoo...

 

i guess truncate iz lyk dropping the whole object n recreating it.... so its not manipulating the structure... but its defining the structure... 

DBZo90.gif

 

 

Link to comment
Share on other sites

help... help...

 

 

em aina scenario undaa ba??

 

 

 

why can't we use case statement in dynamic sql statement? Evarikaina teliste pls cheppandi :3D_Smiles_38:

 

Link to comment
Share on other sites

Actual ga nakoka chitra vichitramaina req. vachindi ba. Drill through feature ni cube lo implement cheyali stored procedure raasi for reporting. Makoka reporting tool separate ga vundi. Repu office ki vellinappudu clear ga post vestale ba. Hope andariki kottaga anipinchochu and help avvochu.Stored procedures kuda vunnayi

Link to comment
Share on other sites

×
×
  • Create New...