Viewing 15 posts - 436 through 450 (of 642 total)
well, I'll confess what the problem was. I hadn't specified the schema names, which in this case was important. ie.Tables belonged to different schemas.
Thank you for steering me in...
July 2, 2011 at 12:10 am
Lynn, how does 'where does the data come from' impact the join? The column names are different, the data types could be different, and the data is there. ...
July 1, 2011 at 11:32 pm
Lynn, thanks for replying. I think you meant 'the code looks good'. Yes, and it seems very straight forward yet it's not working. Other than the composite PKs...
July 1, 2011 at 10:34 pm
I looked up the answer to my own question here: http://www.sommarskog.se/share_data.html#inlineUDF
Coolness. Thanks for sharing your script. One thing you'll need to do is make sure that the column...
June 22, 2011 at 1:04 pm
Cool, I looked at the script. I like it and may use it.
Does that INSERT statement really work, without using the 'VALUES' clause, ie. INSERT INTO <tablename> <return set...
June 22, 2011 at 12:33 pm
opc.three.
First, I want to thank you for understanding my specific problem and helping me specifically. This helps me exceedingly and I will apply it in more situations. I...
June 20, 2011 at 6:47 pm
opc.three.
Yes, I see what that does, so I inserted a print @sqlXX in before every exec @sqlXX. The print command prints what gets executed for each iteration of the cursor's...
June 19, 2011 at 8:21 am
opc.three.
I haven't found the proper place to insert the BEGIN TRY...BEGIN TRAN/ COMMITT TRAN...END TRY clauses. I have taken my first chunk of consequetive dynamic sql code betweeen them,...
June 17, 2011 at 10:21 am
I have read BOL and can see how to place begin/try around regular select statements, but not around dynamic sql statements. Would you mind giving me a suggestion about placement,...
June 17, 2011 at 6:11 am
OK, I will be googling transaction erroring and begin/try and cracking the whip on myself tonight, to get a handle on this. Thank you for taking my question and helping...
June 16, 2011 at 10:32 pm
I would say the subject is 'nearly' as broad as the topic of life. You have to dive in. There is no one book for example and the one...
June 15, 2011 at 1:54 pm
Let's say a view is created using "select *" and with no where clause. Is this utterly useless as well as automatically 'updatable'?
June 15, 2011 at 1:29 pm
I believe I know the answer is that renaming a column will not disrupt the view as long as the column is appropirately referenced from within the view, but just...
June 15, 2011 at 1:04 pm
I have used this query (taken from Dave Pinal http://blog.sqlauthority.com/2009/01/13/sql-server-find-row-count-in-table-find-largest-table-in-database-t-sql/ ) to get a rowcount for every table in the database.
USE <databasename>
GO
SELECT OBJECT_NAME(OBJECT_ID) TableName, st.row_count
FROM sys.dm_db_partition_stats st
WHERE...
June 15, 2011 at 12:03 pm
Viewing 15 posts - 436 through 450 (of 642 total)