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 |
What are the recovery models for a database?
How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode?
what is difference between having and where clause ?
Can you explain about buffer cash and log cache in sql server?
When you first load SQL SERVER you will startup with what all databases?
How to find table changes in sql server?
How to add a new dsn with the odbc driver for sql server?
What is store procedure? How do they work? When do you use?
How do I view a stored procedure in sql server?
What are the new features in sql server 2016?
How to count the number of duplicate items in a table?
Please differentiate between a local and a global temporary table?
Oracle (3253)
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)