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 |
WJHamel
Aged Yak Warrior
651 Posts |
Posted - 2013-09-18 : 13:25:36
|
what the heck am i doing wrong in the aliasing in this script????:Insert INTO [SQLInfo].[dbo].[MainServerInfo] m ([Has Specific Svc Accout for SQL?] ,[Clustered?] ,[Cluster Groups] ,[Servername1] ,[SQLServerIP] ,[IsClustered] ,[Node1name] ,[node1IP] ,[Node2name] ,[Node2IP] ) SELECT [Has Specific Svc Accout for SQL?] ,[Clustered?] ,[Cluster Groups] ,[Servername1] ,[SQLServerIP] ,[IsClustered] ,[Node1name] ,[node1IP] ,[Node2name] ,[Node2IP] FROM [SQLInfo].[dbo].[ClusterInfo] bInner join mainserverinfo on m.autoID = b.autoID |
|
Lamprey
Master Smack Fu Yak Hacker
4614 Posts |
Posted - 2013-09-18 : 13:42:31
|
[code]Insert [SQLInfo].[dbo].[MainServerInfo]( [Has Specific Svc Accout for SQL?] ,[Clustered?] ,[Cluster Groups] ,[Servername1] ,[SQLServerIP] ,[IsClustered] ,[Node1name] ,[node1IP] ,[Node2name] ,[Node2IP])SELECT [Has Specific Svc Accout for SQL?] ,[Clustered?] ,[Cluster Groups] ,[Servername1] ,[SQLServerIP] ,[IsClustered] ,[Node1name] ,[node1IP] ,[Node2name] ,[Node2IP]FROM [SQLInfo].[dbo].[ClusterInfo] bInner join mainserverinfo AS mon m.autoID = b.autoID[/code] |
 |
|
|
|
|
|
|