Viewing 15 posts - 1,591 through 1,605 (of 7,187 total)
How are you attempting to set the database owner, and what is the exact error message that you get? What happens if you run this?ALTER AUTHORIZATION ON...
April 21, 2017 at 2:20 am
Are you sure you actually tried LAG?
SELECT
emp
, date AS effdt
, seq
, hourly
, LAG(date) OVER (PARTITION BY emp ORDER BY date, seq) AS last_change_date
, LAG(hourly) OVER...
April 20, 2017 at 10:32 am
April 20, 2017 at 7:42 am
I wuold love to give you the insert record statement but unfortunately...
April 20, 2017 at 7:21 am
Chas
So from one database, you want to create a view in another database? That's not possible, as far as I know. Even if it were, imagine all the...
April 20, 2017 at 7:08 am
Do you have the INSERT statement that caused the error? That should make it fairly plain which column caused it, when you see the number from the error message. Are...
April 20, 2017 at 5:23 am
So you asked the vendor to add a data file but they added a data file and a log file? I see this sort of thing quite a lot -...
April 20, 2017 at 5:17 am
If you're having to create views dynamically at run time, that suggests to me that the database design may be wrong. Please will you share a bit more information on...
April 20, 2017 at 5:13 am
Why do you need to do this with just one connection manager for each source and destination? If you have one for each client, you can do your loads in...
April 20, 2017 at 2:17 am
What have you tried?
You could use PATINDEX to search for '&#%;' and do the replace from there. You may need a string splitter - I'm not sure.
April 19, 2017 at 10:00 am
I assume that the SaleCustomerContact table is one of the base tables in the v_SaleCustomerContact view? You said that the views were a union of several base tables. Therefore please clarify...
April 19, 2017 at 4:46 am
Yes, bad database design, almost certainly. Are the tales being UNIONed Sales2017, Sales2016, Sales2015 and so on, by any chance? When you said you updated the statistics, did you update...
April 19, 2017 at 4:03 am
I take it from the names of the three objects in question that they're all views? This adds a further layer of abstraction that makes it even harder for us...
April 19, 2017 at 3:52 am
I suspect that you have values of FULLNAME that don't contain a ",". In such cases, your CHARINDEX expressions will evaluate to -1, which is an invalid length parameter to...
April 18, 2017 at 8:41 am
Viewing 15 posts - 1,591 through 1,605 (of 7,187 total)