Viewing 15 posts - 16 through 30 (of 32 total)
I have a stored procedure that accepts start and end date as parameters.
In my VSS project, I selected "Import From Data Source"
Select Microsoft SQL Server
Selected "Write a query that will...
January 4, 2023 at 7:39 pm
Thanks for all the replies. Will check this out. I have 2 databases (SQL and Oracle) with identical tables. Hopefully this will work with Oracle too. Fingers crossed.
November 22, 2022 at 5:12 pm
I just tried to simulate the issue. So didn't create any indexes. Indexes are on VID, AcNo and Orddate
It will be easier to delete and insert a row than update...
November 16, 2022 at 12:51 am
Excellent. That's exactly what I was expecting.
October 27, 2022 at 6:57 pm
Thanks for the suggestions. Much appreciated.
October 27, 2022 at 6:54 pm
That will reduce the displayed no of rows. I still want to see all the rows and the where condition should be applied only for the count.
October 27, 2022 at 3:10 pm
Thanks for the reply. How do I add the where condition to it (where t1.[Prg1]='P1')?
October 27, 2022 at 1:54 pm
Thanks for the response. Will contact the vendor.
October 27, 2022 at 1:47 pm
All tables in the database should keep data only for 15 days. There is an automated task by the software vendor to delete data older than 15 days. But this...
October 26, 2022 at 8:44 pm
Thanks for all the replies. Much appreciated. Yes the date value could be the same for many records. Unfortunately, I don't have any other data to uniquely identify each row....
September 27, 2022 at 2:30 pm
Thanks a lot for the replies. It works.
July 28, 2022 at 6:38 pm
Thanks. Almost what I need. Is it possible to compare the values? If the same value exists, I don't want it to count.
insert into #t1 values('11111','2022-01-10 13:37:06.000','P1','P2','P3','','','')
insert...
July 27, 2022 at 1:34 am
Thanks for the response. Unfortunately, I have no control over the data. It's a 3rd party database. This is how they designed it.
Your solution groups by vid and orddate.
What I...
July 26, 2022 at 9:21 pm
Thanks for the response. This works well. Much appreciated.
July 25, 2022 at 2:58 pm
Great. Thanks for all the replies. Much appreciated.
June 1, 2022 at 8:26 pm
Viewing 15 posts - 16 through 30 (of 32 total)