Viewing 15 posts - 1,006 through 1,020 (of 13,446 total)
first you are being a bad boy, changing dates to strings and back to dates.
if you simply select your code, instead of assigning it, you will see you are...
May 13, 2016 at 8:51 am
SSRS is wierd; that UAC error message is misleading.
there are TWO places you have to add the same group or user:
May 12, 2016 at 9:20 am
it should be
select * from [linkytomysql]...[mytable];
you cannot specify database or schema.
can you connect to your local mysql , using the exact same credentials, via mysqladmin?
May 12, 2016 at 8:31 am
yes, it would explain it.
Lowell (5/11/2016)
calling xp_cmdshell requires sysadmin privileges, and normal end users don't have that. the trigger will fail for normal users
the service account SQL runs on will...
May 12, 2016 at 7:57 am
Tava here is what i created, based on a post her eon SCC that i found;
I've enhanced it over time, but i just put this in master and run it...
May 12, 2016 at 7:52 am
alexferreira (5/12/2016)
May 12, 2016 at 7:45 am
{edit}
whoops no you cannot, because that is a correlated subquery...it's returning more than one value, joining the inner data and the outer data .
i would move the query to a...
May 12, 2016 at 6:03 am
Matthew Saggers-700210 (5/12/2016)
A
B
C = A+B
D = SumABX(A,B)
Function SumABX(A,...
May 12, 2016 at 5:57 am
kreuzer (5/12/2016)
for me as a human user, it would be OK to type a captcha to post something.
Or, only confirmed accounts can post something. I think, it should be possible...
May 12, 2016 at 5:50 am
rathimittha.mb (5/12/2016)
Thanks again for the quick response.
I tried with 4 part query. And it keeps throwing an error.
It says 'Invalid use of schema or catalog for OLE DB provider...
May 12, 2016 at 5:33 am
there's a few things that can be improved here;
your code is assuming one row from inserted exists, it should be modified to handle multiple rows.
calling xp_cmdshell requires sysadmin privileges,...
May 11, 2016 at 3:41 pm
if you include the fn now function, there are seven ways i know of to get the current datetime; there's a few threads around that points out that a potential...
May 11, 2016 at 1:16 pm
Thanks for the script.
couldn't resist.
May 11, 2016 at 12:39 pm
there is a built in stored procedure from Ms to get the objects in FK hierarchy order.
If you have a circular reference, you can get stuck in a loop(A references...
May 11, 2016 at 6:08 am
Once you have the Linked Server in place I have found a few different ways of interacting with the mysql database:
Select Statements:
select * from mysql5...country
select * from OPENQUERY(mysql5, 'select *...
May 11, 2016 at 5:28 am
Viewing 15 posts - 1,006 through 1,020 (of 13,446 total)