Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sparkyrose
Starting Member
1 Post |
Posted - 2007-05-10 : 14:41:43
|
| Ok,I'm fairly new to SQL so sorry if this is obvious.I have two Databases on the same SQL server, and I want to duplicate a table from one in the other, but with two requirements.1. Ideally I would like any changes in the data in the first to be automatically updated in the second.2. I need to change the data type of the primary key from Bigint to Float in the process.I tried a DTS package, which created the second table fine, the problem I have is making a dynamic link.I have also tried a CREATE VIEW with both CAST and CONVERT in the first Db but to no avail. (This is all so I can link to an Access front end and it can't handle Bigint in the PK, I just get #Deleted in every cell.)Any thought? It seems as though it should be easy but I can't figure it. |
|
|
|
|
|