Viewing 15 posts - 1 through 15 (of 72 total)
Thanks again for your reply, but I figured it out. I used CTE and Union to combine both queries. I know it's not best solution but don't have big dataset,...
June 27, 2016 at 10:12 am
Hi,
Thanks for reply but QtyReceived and QtyShipped are from totally different tables.
June 27, 2016 at 8:24 am
Actually it's for inventory calculation. First query give me purchases and I want to minus 2nd query which is sales. So basically what I want is Purchase(Query 1) - Sales...
June 27, 2016 at 8:13 am
Thank you Sean Lange. Your suggestion to comment out Execute statement and using select @SQL helped. I fixed my problem. Now table is loaded.
Thanks again.
November 16, 2015 at 7:40 am
I did remove try/squelch block, and I did catch "C:/Linesheet/" error to. But Now I'm getting conversion error. First StyleID is "01511 bubble dress.JPG".
Here's the error:
Msg 102, Level 15, State...
November 13, 2015 at 2:42 pm
Hello there, did you find solution to your problem? If you did can you pls share your solution?
Thanks
November 13, 2012 at 12:09 am
forgot to add code for update here it is:
UPDATE TB_HOSP_CORE
SET mon = AMONTH
FROM
hosp_core ss
INNER JOIN TB_HOSP_CORE tb
ON tb.PATIENT_ID = ss."key"
November 7, 2012 at 3:27 pm
Thanks for the reply lowell, but just added a column to the table and want to populate it with data from hosp_core.
So I took advise and ran update statement...
November 7, 2012 at 3:26 pm
Have you thought of using SSIS?
December 9, 2010 at 11:01 am
I haven't used vista so far but i have seen other ppl using it and what they were doing is they were opening application like SSMS as Administrator. Basically what...
December 25, 2008 at 7:59 pm
Tried to add new column and then tried to reshuffle it to different order in the existing table, gave me warning that it would need to drop and recreate table....
December 21, 2008 at 12:13 pm
hi i tried it on my machine it worked perfectly fine without any errors. by the way in the syntax given by Alex has an expiry date and not start...
December 2, 2008 at 10:19 pm
Ok in that situation, my guess would be to create script to read data from remote database and update your database. Schedule to run that script every evening, so that...
November 24, 2008 at 3:51 pm
You can do transactional replication. If you do search on sqlservercentral right side top corner you will find good articles about replication.
November 24, 2008 at 12:58 pm
Viewing 15 posts - 1 through 15 (of 72 total)