Viewing 15 posts - 106 through 120 (of 137 total)
One other thing you might want to try. Use the 'Export Data' function in SSMS to export something from SQL Server to an excel spreadsheet. Be sure to...
September 25, 2012 at 8:48 am
Thanks Matt. That's a much better way to explain it.
September 21, 2012 at 10:53 am
Right. Hence the words of caution. The update statement must be written deterministically or you'll end up with the situation you described in your example.
September 21, 2012 at 10:28 am
Check the first example in the 'Best Practices' section for the Update statement from msdn:
Update (Transact-SQL) - Link to the MSDN page
Your example is very similar to the one following...
September 21, 2012 at 9:47 am
Thanks again. Should have figured there was a catalog view but didn't know about it either. Based on the view suggested, the OP may find the following helpful:
Select
schema_name(so.schema_id)...
September 17, 2012 at 4:14 pm
Thanks! Didn't know about that function.
September 17, 2012 at 3:42 pm
Right click the table or column and select properties. Look in the extended properties.
If the database has a diagram, check the description field in the properties of...
September 17, 2012 at 11:13 am
how do I tell this script task to write that "DestPath" to my variable?
Three steps:
1. Set up a variable to hold the changed file name. For this example...
September 14, 2012 at 9:05 am
Your description is very abstract. It's not clear what you're trying to have SSIS accomplish. You're more likely to be successful in getting help if you follow the...
September 13, 2012 at 9:06 am
It would help to have some test data (see referenced article).
But here is something to check. You're not relating your maximum asset date to the pr_id that each date...
September 12, 2012 at 9:54 am
I think there's still a bit missing from the last part of your query. The final join to your max query is missing the ON.
Some DDL for the tables...
September 12, 2012 at 9:23 am
update dbo.Test
join
Archive
on Test .Id = Archive.lId
set Test.Processed = Archive.Processed
I don't see a SET statement or a FROM statement. I'd suggest checking your update in SSMS...
August 31, 2012 at 1:26 pm
Check the approaches discussed here:
http://www.sqlservercentral.com/Forums/Topic560772-148-1.aspx
August 31, 2012 at 8:33 am
Good suggestion. I was limiting my thinking to file system storage with users opening the package to run it.
August 30, 2012 at 9:51 am
Viewing 15 posts - 106 through 120 (of 137 total)