« first day (1711 days earlier)      last day (2607 days later) » 

1:13 AM
Hi! I would like to ask about bulk insert, I'm trying to access a file in our file server which is connected to our system. I granted full access to network service but my superiors asked for something more secure. Is there any other access or ways to give access to bulk insert without using network service with full control over a folder?
 
 
6 hours later…
6:49 AM
Hi!
Did somebody moved databases form a server to another ?
 
 
2 hours later…
8:31 AM
i did B-)
 
War
9:11 AM
@J.doe ... hi
 
Morning all
 
War
morning
 
9:34 AM
i have a supid question
i need a user that has full rights ONLY on one of my databases
from where should I start ? i'm merely a developer..
 
@BudaFlorin full rights only on a db?
On SQL Server that's the db_owner role right?
That's pretty high up though, there could be got'cha's there...
 
i'm not very sure
i need to read/write data
in tables
and in some linked servers
and to export peridically the database
and to send emails
perhaps i don't need db_owner :P
 
i have a more important question :D
i just saw that i'm the db_owner of the database
how can i check if the "SA" user can access it ?
 
9:51 AM
What version of SQL Server are you using again?
 
morning folks
 
SELECT IS_SRVROLEMEMBER ('sysadmin', 'SA')
Morning @AndyK
 
@Devilius I did not look at your stuff, sorry
 
(No column name)
Microsoft SQL Server 2014 - 12.0.2269.0 (X64)
Jun 10 2015 03:35:45
Copyright (c) Microsoft Corporation
Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3 <X64> (Build 9600: )
 
@BudaFlorin cool, and the IS_SRVROLEMEMBER result?
 
9:55 AM
worked! thanks :)
it's 1
 
then SA is a sysadmin and they can do what ever they damn well chose on that server and all databases
including drop your database
remove your login
etc
 
10:15 AM
hi
 
@Prasanthi 'low
 
@Shaneis do u know Power BI
 
@Prasanthi I've only heard of it, haven't used it
 
oh
 
@Prasanthi what's your issue anyway?
 
10:22 AM
i have doubt in Water fall chart visualization
 
@Prasanthi you don't trust it?
 
why u r asking like that?
 
@Prasanthi I'm trying to figure out what you mean by "have doubt about it"
 
are there good books out there that can teach someone on the good pratice of testing and deployment, at an exec level?
I would need some insight on software deployment
@War
 
War
hmmm
hi @AndyK
hows that little dev project of yours going?
trying to get a process up and running?
 
10:32 AM
i made my user data_reader and data_writer - and now I see all the tables
how can I do to have access to all stored procedures ?
 
@war
yeah but I got sidelined by my boss who is thinking of himself as dev
that's not what he is supposed to do
He's got other issue to deal with
like coordinating the team
around the world
instead he is losing himself
in trying to dev stuff
 
War
the best way to handle that is to steer him towards good documentation and project planning
good docs will make it all run a ton smoother and there's never enough documentation in any project i've ever been in so that should keep him going for some time
 
I'm looking to tell him in a nice way to mind his business and concentrate on building the strucure
lead the team
instead of doing dev
 
War
I tend to build out the structure of a document then hand it over as a "request for help" asking him to fill in the bits i'm missing
hopefully that will get you on track soon :)
 
@War oh that's a good call
nice and subtle
+1
@BudaFlorin are all the stored procedures on the same schema?
 
War
10:46 AM
lol
I shared him a doc I wrote
don't really think its something I can give the whole of SO though
it's our internal dev process here that I wrote
 
@War nah that's a good call
still though, nice thinking!
 
War
usually I find that even good managers don't know how to manager a decent developer
developers are a custom breed that have evolved ways of working that go beyond what normal business is used to
sometimes providing a nudge in the sort of direction you're working in will result much better results in the future
 
meh, I've found that bribery works, threats...not so much
 
War
but as a developer you have to be rock solid in your own processes before you can really start to provide that guidance ot the business
lol bribery ... I just say stuff like "yeh i'll get that done as always, I just can't commit to a date / time without a proper plan, here's what I have so far, could you fill in the blanks ..."
the manager then reads through and is like ... wtf I only asked you for X why is Y and Z in here
that leads in to a discussion about the design I built from his requirement
then they click that their "simple 1 hour job" is actually a 2 week project
at that point they start trying to simplify the requirements (badly I might add) by attempting to "re-design" it in a "simpler way"
the iteration that takes place in all this can entirely happen before you go anywhere near a compiler or an IDE
it can also happen very fast, like over a few days if the feedback loop you have with the business is an efficient one
 
the word of the day is : IF
 
War
10:58 AM
I tend to remove that word from requirements as much as possible
 
@War good call
 
War
use of the word "IF" usually tends to mean something hasn't been thought out
 
that's a nice one @War
 
War
also avoid terms like "exceptional situation" or "when this doesn't fit" as these mean the business knows the process doesn't work or wants a hook to not follow it
stick to hard and fast rules and think like a tester for any given sentence "given, when, then"
Given "I have a file in the following format ..."
When "I am processing the file I follow these business rules ..."
Then "I expect the result to be ..."
the same can be said for processing http requests on API's or mapping out business actions triggered by buttons on a UI
 
@War right, I'm stealing "given" btw
 
War
11:02 AM
Focus on the process, if you get that right the design will basically define itself
 
also I stay away from "optimistically"
 
War
@Shaneis its a well known thing for testers
@Shaneis yeh or "we would expect X"
well is it X or not?
answer that before moving on
 
War
11:21 AM
brialliant ... the boss can't even explain the problem.
I said it's a months work on the basis that the problem needs more breaking down and some complex code, he didn't seem to think so and the junior guy said he can do it in half my estimate.
I basically said "fine, all yours then", this morning they are trying to figure it out, lots of conversation, no documentation.
 
11:38 AM
@War I was that Junior once, until I realized that if I can do it in the half the estimate then I really don't understand the problem...
 
War
11:53 AM
@Shaneis The same junior usually estimates like this ... I've basically taken a back seat on this one ... blind leading the blind is now taking place
every now and then I drop the odd "oh did you remember to think about X"
I get get strange looks from them both and then the penny drops and they are slowly watching the estimate slip in to the impossible delivery realm
 
12:26 PM
@War perfect time for a "mwahahahahahahahaha" I think
 
War
they have been informed of my date and time at which my "I told you so" will reach the most epic proportions
 
mwahahahahahahahaha
 
War
I literally have a plan for when this all go sideways
 
@War I'm assuming it's not "sit back and laugh" then?
 
War
the annoying thing is i will then have to go in and pick up the pieces, after the agreed deadline wiht the client (again)
@Shaneis in the short term yes :)
 
12:29 PM
:)
 
 
1 hour later…
1:33 PM
it should be an interesting one to read amazon.co.uk/…
 
@AndyK I've been waiting on a book from amazon for the past 20 days...
 
 
3 hours later…
user6275623
4:49 PM
Hi. Is it possible to use a variable as column name in an mysqli query? I have an array of key value pairs and am trying to update a table with a mysqli query. Can I use a foreach loop to SET column names as array keys and SET column data as array key values? Eg. foreach ($array as $key => $value) {$query = "UPDATE $tablename SET $key=$value WHERE id=$tableid }; Can't find an answer to this in any of the answered questions on stackoverflow.
 
War
@IgnatOspadov look to me like its just a means to make using MySQL a bit more "wrapped up" and that creating SQL statements should be no different to how you might do it in normal PHP without it
unless I mised something
 
user6275623
@War I'm not sure what you mean by that
 
War
var query = "SELECT " + $colNames.Join(",") + " FROM " + $tableName;
isn't that basically how you build SQL in php ?
 
heading off guys, chat again
 
user6275623
5:05 PM
@War yes, that is how a SELECT query is prepared. The thing is, a SELECT query fetches the data from the columns unlike an UPDATE query which is a bit different because you have to specify the data to be inserted into the table row.
 
War
@Shaneis later dude
@IgnatOspadov I think you're missing what i'm saying
var query = "UPDATE " + $tableName + " SET " + FormatKeyValuePairs(stuff);
how is that any different to the select SQL above?
 
user6275623
@war
 
user6275623
@war actually its not, i think you answered my question, thank you :)
 
War
uh ok ... lol ... build a lump of SQL, execute it :) At least you got your answer though!
 
user6275623
Yeah :) cheers!
 
5:21 PM
i'm off
see ya
@war
what you've done is highly highly neat
your process is simply amazing
 

« first day (1711 days earlier)      last day (2607 days later) »