16,018,460 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by pratap420 (Top 26 by date)
pratap420
19-Jun-17 7:46am
View
Thanks for your solution. Sometime here is 4hrs only. The worst part is per day only we can have atmost 1000 rows of write/update/delete for that huge table.
Maintance plan run twice in a week.
pratap420
12-Aug-16 6:02am
View
Thanks for your reply. In my comment tag,I have many other tags which will be different from first sampleno to duplicate sample no.By that time how to I distinguish?
<demo>
<sample reception_ts="">
<analysis type="SampleDemo">
<HEADER>
<comment>
<sample_number>00001
<sample_value>abc
</HEADER>
<sample reception_ts="">
<analysis type="SampleDemo">
<HEADER>
<comment>
<sample_number>00002
</HEADER>
<sample reception_ts="">
<analysis type="SampleDemo">
<HEADER>
<comment>
<sample_number>00001
<sample_value>xyz
</HEADER>
here sample value is diffrent .I have to consider duplicate one sample value xyz as valid.
pratap420
15-Mar-16 5:22am
View
thank you for your support...Now its working
pratap420
15-Mar-16 5:22am
View
thank you for your support...Now its working
pratap420
7-Mar-16 12:10pm
View
Thanks for your suggestion.Could you please clarify,data provider should I install in my machine or Oracle dev box or sql server dev box?
pratap420
7-Mar-16 12:00pm
View
Here client means Oracle software? or any driver?
pratap420
26-Nov-15 6:06am
View
Order by col3,id is using in 2012 also.But storage order in temp table different with respect to 2000.
pratap420
26-Nov-15 5:51am
View
If I add order by in cursor,the result set will be different in 2012.But business team still referring 2000 db only.And they expecting same data in 2012.
pratap420
28-Apr-15 6:26am
View
How come you assign two values in a single variable in a single shot? If you want you can use multiple variables to assign multiple values
pratap420
27-Apr-15 4:45am
View
unfortunately I missed it ..Thanks
pratap420
24-Apr-15 12:07pm
View
what's your expected output?
pratap420
22-Apr-15 9:04am
View
Thanks John for your response
pratap420
22-Apr-15 9:00am
View
Thanks Praveen. I think employers expecting more knowledge on performance tuning even from 2yrs exp guys and they were expecting from guys to had a exp on such cases.
pratap420
9-Mar-15 7:51am
View
Thanks for update.But I need to check if any breakage in the code/syntax wise deprecation
pratap420
19-Nov-14 5:26am
View
In development environment we are not using XML config file .We are passing paths,values through variables by manually.Even my job has to execute by manually only
pratap420
10-Nov-14 5:39am
View
I am passing the XML file path to Procedure.In procedure i am getting the XML using file path.During this process ,I used varchar instead of Nvarchar .So that am getting this issue.Now I fixed it . Thanks Richard for your valuable suggestion.
pratap420
30-Aug-14 1:57am
View
Thanks all for your suggestions.
pratap420
14-May-14 10:11am
View
I am not clear with your table .Table is having 4 cols but row are showing more cols
Can you rearrange the table
pratap420
12-May-14 8:52am
View
yes correct CHill. My openquery using column names only.
pratap420
2-May-14 11:09am
View
Excellent thought.Its working as per my requirement .I learnt nice logic today.
Thanks Andrius,Maciej
pratap420
25-Apr-14 10:37am
View
I tried Dispaly:inline,inline-block but no fruitful result.My code already using span.
pratap420
6-Apr-14 1:47am
View
Thanks Maciej.Actually I have 8 cols in table1 .If I do like that query cost will be more .My job is already taking 20 mins ,If I add this it will add few more mins time.So,I need to give very very optimized script with out effecting original time.
I posted sol2 for this requirement,but still I need some more optimized script.Please have a look into Solution2 and provide comments
pratap420
5-Apr-14 1:49am
View
yeah correct . sample data :
table1 : col1 col2 col3
file_abc Dfile_xyz Mfile_mnp
file_afc Dfile_xyz Mfile_mnp
file_afc Dfile_acd Mfile_oop
table 2: id value
1 file_afc
2 Dfile_acd
3 Mfile_mnp
4 file_abc
5 Dfile_xyz
6 Mfile_oop
7 .......
8 .........
whatever values in table1 col1,col2,col3 we are going to insert into table2 .
1.Everytime based on table1 , data will be inserted into table2 with out duplicating data .
2.By using tabl1,table2 we will insert result to table3 .
Now I want table 3 would be
table3_id col1_id col2_id col3_id
1 4 5 3
2 1 5 3
3 1 2 6
step 1 I have done using unpivot concept.I am working for step2.
Note : all these three tables are perminent tables
pratap420
4-Apr-14 6:14am
View
In your example you have one table for unpivot but in my case I need to use two tables.But how?
pratap420
4-Apr-14 2:35am
View
Sorry for confusion.I already have table1,table2.By using these two tables I need to insert into other table (final_table),like
col1 col2 col3
1 2 3
10 12 9
Here 1,2,3,10,12,9 all these values are from table2 ids corresponding to table1 col values .
pratap420
3-Apr-14 8:35am
View
No for sample I gave like that but actually my table1 has fixed 8 cols like this,data will be different for each row and table2 data will be increased based on table1 col data .Table2 always have distinct rows .
Show More