Viewing 15 posts - 256 through 270 (of 440 total)
February 9, 2009 at 9:11 am
The way i see is there are couple of steps involved in this.
1) Creation of the file which contains the information (i.e 100 records based on multiple joins).
-- To do...
February 9, 2009 at 9:10 am
I Agree with Ninja's decision. If the data requires to have Unique Index then we should have Unique Index. In this world anything can happen with Data Quality. So always...
February 9, 2009 at 9:05 am
Hi
Check out the below article, which will clarify all your questions with examples.
Thanks -- Vijaya Kadiyala
February 9, 2009 at 9:03 am
Hi
Agree with Ramesh solution. It is very simple. Never use curosors in SQL Server. They are 30% slower than normal queries.
Thanks -- Vijaya Kadiyala
February 9, 2009 at 9:01 am
if the table is small then create a new table with the distinct values and then drop the old table and rename the new table to the Old table name.
Thanks...
February 9, 2009 at 8:58 am
February 9, 2009 at 8:54 am
Thats really a good tip. This will work if you are creating a new table.
What if the table already exists, so in this case we have to use Update Statement...
February 9, 2009 at 8:50 am
Hi
Why dont you do it in single short?? The amount of data that you are delaing is very small. why do you want to do it in small chunks?? If...
February 9, 2009 at 8:44 am
Hi
Agree with Bruce, thats the right way to go.
Check out below links to start with:
http://www.dba-oracle.com/oracle_tips_oracle_v_sql_server.htm
http://www.oracle.com/technology/products/database/oracle10g/pdf/cwp_general_o10g-vs-ss2k.pdf
http://www.mssqlcity.com/Articles/Compare/sql_server_vs_oracle.htm
Thanks -- Vijaya Kadiyala
February 9, 2009 at 8:35 am
There is no way u can achieve this with script unless you add a separate column with IDENTITY as a property.
Thanks
Vijaya Kadiyala
February 6, 2009 at 9:01 am
Hi
First of all you dont need a recursive function to achive this.
Try achieveing it using loops. If you still want to go ahead with your current logic then you...
February 6, 2009 at 8:45 am
Hi,
You need to Transaction Blocks to do it. By default if run any queries in Query Window , all of them are implicit commit.
You need to follow Mahesh's code to...
February 6, 2009 at 8:39 am
HI Mahesh,
You have provided partial solution, i.e. converting rows into Columns. But his requirement is slightly different. i.e Convert a Column which contains concatenated string into multiple columns. In this...
February 6, 2009 at 8:37 am
Hi
You said you want to concatenate the columns values in each of these tables!!! To concatenate you need to join these three tables on a certain column..othewise it will result...
February 6, 2009 at 8:35 am
Viewing 15 posts - 256 through 270 (of 440 total)