15,912,329 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 Python 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 Member 12271876 (Top 8 by date)
Member 12271876
28-Jan-16 12:15pm
View
Table payout is like
990190685|wave Inc|990190685
770060870|ICKI|770060870
770060871|ZYWI|770060871
Member 12271876
28-Jan-16 12:07pm
View
I deleted the records(there were not many just 4 records ) that had issues like 203d and trying loading the file again by using bulk insert.
query - BULK INSERT t1
FROM 'C:\Users\abc\Desktop\Newfile.txt'
WITH (FIELDTERMINATOR = '|');
its giving me message - Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 1 (Bus_id).
I delared Bus_id as float this time.
Can u help..?
Member 12271876
28-Jan-16 11:18am
View
Ok.. will check. Thanks !
Member 12271876
28-Jan-16 11:11am
View
I get no value when i do this.Just blank table with headers.
Member 12271876
28-Jan-16 11:05am
View
Yes, sql is unable to find matching records.
If i do search on specific Bus_id records, I am able to see same records in both tables.
Not sure Y sql is unable to find it. is there any other way to tackle the problem..?
I am matching by Bus_id only now.
Update t1
set t1.Revenue = t2.revenue
from t1
Inner Join t2
on t1.Bus_id = CONVERT(NVARCHAR(50), t2.Bus_id);
Member 12271876
28-Jan-16 10:55am
View
There is no error.. But nothing happens.
Member 12271876
28-Jan-16 10:16am
View
Hi, Can u please look into this issue - http://www.codeproject.com/Questions/1075018/Can-I-Compare-Varchar-To-Float-In-Sql
If you have some time..? Thanks !
Member 12271876
27-Jan-16 16:35pm
View
Thanks ! it worked..
Show More