Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Data table relation with two different data types

Posted on 2011-03-08
4
652 Views
Last Modified: 2012-05-11
Trying to add a relation for two different data tables that the releated columns have different data types.

Both columns have the name of screen_no but one table is Int16 and the other is Int32.
I am getting the error "Parent Columns and Child Columns don't have type-matching columns"

Thanks,
0
Comment
Question by:DowntownIT
  • 3
4 Comments
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 35081909
wont work
even sql server does not allow that
promote int 16 column to int 32 because in that way you wont be loosing anything
0
 
LVL 2

Author Comment

by:DowntownIT
ID: 35082625
Thanks raqi, unfortunately I don't have control of the source of the columns but can change anything in the data table(s) as needed and that is where I am getting hung up. Don't know the best approach to doing that.

Thanks again,
0
 
LVL 2

Accepted Solution

by:
DowntownIT earned 0 total points
ID: 35083289
I was able to do something completely different and bypassed this issue all together.
0
 
LVL 2

Author Closing Comment

by:DowntownIT
ID: 35126278
Went in a different direction
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question