Thanks to SQL guru and other gurus who replied to this <img src='/community/emoticons/emotion-3.gif' alt=':o' />)
Here is the select statement: SELECT Code_Type, tbl_name, A.r_cre_id, A.r_cre_time, cur_rec, lodgement_id FROM CADR A ,COCR C WHERE...
Hi, I have this huge table for activity logs which has quarter billion records in it. There is a query from the application to view activities, the...
Thanks Adriaan and gurucb
Thanks Adriaan, I do not have access to the database right now, so can not actually find if the max count for that value for the column is...
yes i do, this is how the query looks, select name, address, email, blah, blah, blah from table1 where corp_id = 'blah' and the 2nd databsae is...
Hi Adriaan, The second one is showing index scan and I am running the exact same query (if thats what you mean by same filter criteria). -Rocky...
Hi, I have exact schema on 2 databases, the table structure, columns and indexes match but one of them has huge data compared to other. Now the...
Thanks Mate.<br /><br />Pretty basic isn't it, new to sql server <img src='/community/emoticons/emotion-3.gif' alt=':o' />).<br /><br />-Rocky<br...
Hi, Can you please let me know how to extract the schema(tables, views, etc but not data) of a sql server database. With this extracted file I...
I do not want to do explicit inserts and updates as the number of tables and PK for them is too many and it would involve a lot of text processing to...
Hi, Can you please let me know if there is equivalent thing for INSERT ... ON DUPLICATE KEY UPDATE which is in my SQL.
I do not want to do explicit inserty and updates as the number of tables and PK for them is too many and it would involve a lot of text processing to...
Hi, I have a set of insert statements which needs to be run a particular table, there could be a possibility that some of the record may exist...
The product/database is designed to handle only one country, there is no replication done one this, this is absolutely redundant in the current...
Hi, I am looking at a database which has one of the columns present in almost all tables and that column is also part of the PKs and hence is part...
Thanks mate.
Hello, I am analysing a query which is performing bad even though it has the right indexes on the table.The problem is that sql server is not using...
Separate names with a comma.