Viewing 15 posts - 361 through 375 (of 432 total)
A simple JOIN (as you would with two tables from the same database) adding the database and owner to the qualifier.
The qualifier should look like this database.owner.table
April 12, 2007 at 2:52 am
I think that you're looking for:
INSERT INTO tblMatchNSI(serv_lev,ctry_code,expamt,impamt,LCamt,usdamt,wkending,trans_code,ship_id)
SELECT ExpHybrid.serv_lev, tblTempNSI.*
FROM dbo.ExpHybrid ExpHybrid
RIGHT OUTER JOIN dbo.tblTempNSI tblTempNSI
ON ExpHybrid.ship_id = tblTempNSI.Ship_id
WHERE...
April 12, 2007 at 2:42 am
In my last job PSKill gave me a lot of amusement. There were numerous calls to the helpdesk that Outlook or other application had just closed itself down.
Creative use of...
March 30, 2007 at 9:10 am
If they do, you could use your trigger to fire a stored procedure on the linked server; passing the row's Unique ID (say @rowID for ease) as a parameter to...
March 21, 2007 at 5:59 am
Okay Paul,
Do your rows have Unique IDs in your original table (the one with the trigger on)?
Ade
March 21, 2007 at 5:27 am
I don't think that this is possible:
Check out this link
http://msdn2.microsoft.com/en-us/library/ms175129.aspx
there is a line in there:
READTEXT, WRITETEXT, and UPDATETEXT statements are not supported against remote tables.
What are you trying to...
March 21, 2007 at 4:49 am
I've only ever worked in small companies in the UK , could someone give me an example of why you'd need more than 1024...
March 9, 2007 at 10:10 am
When using the /A switch I always surround the definition in quotes:
/A "gvFileName=c:\text"
I use a lot of DTS packages in scheduled jobs and use the xp_cmdshell to execute them.
March 9, 2007 at 4:08 am
The configuration function @@SPID (SELECT @@SPID) is probably the easiest and least time consuming to implement.
March 9, 2007 at 4:03 am
It could also be done using xp_cmdshell and the TYPE command, thus:
EXEC master.dbo.xp_cmdShell 'TYPE C:\TextFile.txt >> C:\TextFile2.txt'
This would append the contents of Textfile.txt to TextFile2.txt on the SQL...
March 9, 2007 at 4:00 am
Hey Frank,
Good description of your problem - so good that I even managed to recreate the problem!! A little experimentation got me to this conclusion:
Open your Middle of String transformation...
March 9, 2007 at 3:50 am
Easy money... Couldn't agree more!!
And this easy money is funding my part-time Degree studies in to Psychology. I spent 3 years in HM Forces figuring out how radios, jammers, and...
March 9, 2007 at 3:31 am
Matthew -
If you could post some background of what you're trying to achieve and the relevant code, rather than a small snippet, we might be able to help you toward...
March 5, 2007 at 10:01 am
I worked for a company that ran one of those customer loyalty-type programs (points per £/$ spent and the like). They used a third-party software as the 'loyalty-engine' which processed...
March 2, 2007 at 2:17 am
Bill, I think you're wrong. The terms and conditions of sale are totally different to your idea of "agreement". The T's and C's on a sale carry through to completion,...
February 16, 2007 at 10:26 am
Viewing 15 posts - 361 through 375 (of 432 total)