I am not sure what the best design pattern for this problem is so any suggestions would be greatly appreciated. I have two SQL Servers A (with DBs P,Q,R) and B (with DBs X,Y,Z).
When I try to run the following statement, I get this error: \"A SELECT statement that assigns a value to a variable must not be combined with data-retrieval operations.\"
We are updating numerous stored procedures that touch nearly every transaction in our database.What I\'m wondering is if there is a tool out there where we could have it run the two stored procedures
i want to create these two tables but i\'m getting an error which says SECTION keys that being referenced by foreign keys of HOLD are not primary key. as it\'s seen in the query they are primary keys.
I have a column in \'tableA\' which i would like to update with the result from the following query. Basically the 5th date column will be the maximum date from the other 4 columns on the same row.
I have a SQL Server 2008 SSIS job which executes some Win 32 exe files. This job runs fine when i execute the job through BIDS (On Windows 2008 box). Now i have deployed the package in MSDB database a
I often use queries like: SELECT * FROMThisTable OUTER APPLY (SELECT (SELECT SomeField + \' \' AS [data()]
I\'m deleting a row in a table that is on one site of a many-to-many relationship. I would also like to delete any related rows on the other side of that relationship.
I have 2 tables as below: TABLE:CITY CITY_ID CITY ---------------- 1London 2Chicago 3Newyork 4Delhi TABLE:TRAIN
I have two tables : Customer ------>> Shipment I want to give each shipment a unique number for each customer, for example