could you please reply for these question:
1.About Use Apply?
2.Avoid cursors - When we have a situation that we can not
avoid the use of cursor than what is the alternate solution?
is there anything we can use instead of cursor to perform
the desired task? which optiomize the peroformance too.
3.What is computed columns?
Thanks in advance.
Regards,
Rupesh
Answers were Sorted based on User's Feedback
Answer / anupom das
Use Table variable with a identity column. Then make a while
loop row by row
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / anupom das
Use Table variable with a identity column. Then make a while
loop row by row
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prasanna
Use derived columns,corelated subqueries instead of cursors
so that the performance will also be improved.
Regards
prasanna
| Is This Answer Correct ? | 0 Yes | 0 No |
Find first and last day of current month in sql server
How to convert a table data in XML format in sql server?
Where do you find the default Index fill factor and how to change it?
What is a transact-sql statement batch in ms sql server?
Can a trigger be created on a view?
What type of locking occurs during the snapshot generation? : sql server replication
When columns are added to existing tables, what do they initially contain?
What is the main purpose of having conversation group?
What happens when transaction log is full?
How to encrypt Strored Procedure in SQL SERVER?
What are the different types of sub-queries?
How is a full-text index updated?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)