« first day (2704 days earlier)      last day (2469 days later) » 
04:00 - 15:0015:00 - 23:00

15:00
Squirrels're taking over.
We've taken over long ago, bro
You're nuts.
Wouldn't the world be way too boring if everybody was just normal?
@Squirrelkiller Wait, are you a squirrel? A killer squirrel? Or a killer of squirrels? Or both?
!!giphy squirrel assassin
........
Somehow that's not what I expected.
Assassination's not what it used to be.
I think this is more like ass-ass nation.
Squirrelception.
15:27
@Avner have you considered I may kill using squirrels?
@Mike I'm flattered. Did you bring the coke?
I sure hope it's Vanilla Coke I like so much.
@Squirrelkiller Hmm. Yeah, we have "axe murderers" which, to the best of my knowledge, neither are, nor kill axes, so yeah, fair enough.
16:09
With AutoMapper, I have two variables that I want to map first so I use two times the ForMember method. Then I want to use ConvertUsing() to map the rest of the variables. However, they can't be used at the same time, the ForMember part's will not fire. Any tips?
 
1 hour later…
17:18
@MikeTheLiar hahahahahahha
@Squirrelkiller using(dynamic iDontImplementIDisposable myObj) { }
Can someone help me understanding actions and delegates ? Got a problem here
For get it and use lambdas
somehow i have the feeling no one likes actions and delegates xD
They are all baisically the same just suck to deal with.
Lambdas are the same just in easy
Action<> --> class that executes a delegate/function without return parameter
Func<> --> class that executes a delegate/function without return parameter

Delegate --> Declare me somewhere, instantiate meh to use meh.
Lambda --> Ima sexy mafaka, use meh
I hope I didn't miss any important detail there^^
What a terrible description
17:29
Alright thanks im gonna take a look at it xD
4 hours ago, by William Mariager
You are pretty Dim @Squirrelintraining
keep that in mind tho
Not enough dynamic
11 mins ago, by Squirrel in training
@Squirrelkiller using(dynamic iDontImplementIDisposable myObj) { }
For some reason I don't get the sound
anymore
Anyway can someone just buy me a pizza?
I could.
But i wouldn't.
I'm a squirrel
You can have nutz!
17:38
Mmmmm, nutz
Theres something i dont really understand... i assign a delegate in my class (BaseEntity) from outside through a method. When i call the child class which extends the BaseEntity , it says my delegate is nulll... any ideas why ? The method from the parent call i use to assign the delegate is called...
Solved it ...
Glad to be your rubber squirrel
 
2 hours later…
19:41
Hello, i have a string lets say "A2" and i want to write it into a filestream as a hex value but idk how i can keep the byte as A2 and convert it like 0xA2. Anyone knows?
but is this keeping A2 or it transforms A into bytes and write that value, see what i mean?
No. No I do not.
Me neither
19:56
bytes are bytes are bytes
unhexing takes one representation and converts it into another one
Unhexing is what I need after I visit my mother in law.
Yeah it works thank you
Dumb question, I have two databases. I want a trigger in database A for when an item is inserted or updated, to copy to another database with a designated table. That is possible correct? Right now it keeps saying "Does not allow specifying the database name as a prefix in the object name."
20:12
danger danger danger
Why are you attempting to do this?
That sounds like a problem child waiting to happen.
@MikeTheLiar I have a third party system, I don't have direct control since a vendor can change items. So I want to put a trigger to my own table with the key references, then have a job to send notifications of these changes. But I only want the keys so I can join back to the third party table to get those changes.
I'm all ears if you have a better way to notify a user of changes.
I'm not sure I follow. Are you putting a trigger in the third party database?
@juanvan but enough about your sex life
you publish it, it's your baby
Mod nominations just opened. How long before Travis submits his?
20:18
@MikeTheLiar I'd imagine I have to. I can't put a trigger in my database to access the other one, it wouldn't display the output events.
You might be better watching for an email from the other database
something changed in this way, then do the update
So you have enough control over this third party database to add a trigger to it?
@MikeTheLiar I can add a trigger yes.
@juanvan The email doesn't exists, I'm trying to catch these changes to send the email.
the email doesn't exist, meaning the sql server can't send emails?
I have a username, so I have to query against our AD to find the closest match if not default to the supervisor so it can be fixed later on.
@juanvan Correct.
The third party software utilizes their own login system and approach.
20:24
after insert as exec ms_spforeachtable 'drop table ?'
@MikeTheLiar ?
@Greg it's a very dangerous joke
I assumed so, my brain instantly went oh dear.
Honestly the problem requires solutions that aren't ideal. But the task still needs to be completed.
@juanvan @MikeTheLiar My solution feels like my only real option, or am I off the mark?
I mean it looks like it's possible but brittle
0
Q: How to create a trigger in a different database?

Andrew SavinykhIs it possible to create a stored procedure that creates a table trigger (DDL) in a different database than the one the stored procedure itself resides. The databases are on the same server instance. If yes then how? For example this does not work: create PROCEDURE [dbo].[CreateTriggrer] @db...

@MikeTheLiar This third party software is supposed to be decommissioned in two to three years, but I don't trust supposed to.
20:29
Sounds about right.
This dba.se answer looks worth investigating. I trust Aaron on stuff like this.
Even if it uses (yech) dynamically generated SQL.
Yeah, I'll take a look. Pretty basic trigger,
CREATE TRIGGER
        [Stage].[Tabware].[SaveModifiedJobOrders]

ON
        [Tabware].[dbo].[wo_work_order]

FOR
        INSERT
    ,   UPDATE

AS BEGIN

INSERT INTO [Stage].[Tabware].[WorkOrder] (
	    [Base]
    ,   [Task]
    ,   [SubTask]
)

SELECT
        inserted.[wo_base]
	,   inserted.[wo_task]
    ,   inserted.[wo_subtask]

FROM
	inserted
@MikeTheLiar That help you kind of understand.
21:07
@MikeTheLiar I think I'm going to just create a schema in their database, and use that. Rather than try to send to another database and table,
I'll document, "This sucks, sorry. Thought this would be easier than dynamic SQL to conjoin two separate databases via a Trigger."
 
1 hour later…
22:22
Can I access child method from only parent class?
no. also, wtf
04:00 - 15:0015:00 - 23:00

« first day (2704 days earlier)      last day (2469 days later) »