« first day (2163 days earlier)      last day (2721 days later) » 

12:12 AM
The Christmas Tree lights now have a lego house :) icloud.com/sharedalbum/#B0SGrq0zwGHlSJd
Yay for festive geekery
 
Air
Anybody know if the localdb bundled with Visual Studio is adequate for developing an app that targets a "real" edition of SQL Server?
 
Ooh, yet another mod. We're becoming popular :P
 
at least you don't have a storm of moderators in here :P
we tend to appear in waves and/or floods and storms
 
Air
Did someone just ask me to link the room in the Teacher's Lounge for no reason? Because that's how you get someone to link a room in the Teacher's Lounge for no reason
 
8
Q: Should developers be allowed to use LocalDB vs a "development" instance?

Andy NeillansMuch like the vein of the question that was posted here previously around "Should developers be able to query production databases?" I wanted to get your thoughts on another particularly annoying topic! Many companies prevent developers from install SQL Server Express and the like on development...

(just related, not sure if it answers your question fully)
 
Air
12:21 AM
Hmmm... good food for thought. Thanks for the pointer.
 
I guess you know that Developer edition became free, recently.
 
Air
Cost is less of an issue than additional time spent waiting for procurement
My coworker, who has over a decade of experience on his resume developing for this stack, insists we need full versions of SQL Server installed on our workstations in order to start on a project that is already months behind schedule. But he also said to me recently that he has never used commit and doesn't think it's necessary
I didn't ask him if he knows what a transaction is because I would rather live in happy ignorance
4
 
@Air It's obviously behind schedule if you haven't started working on it ;)
 
@ypercubeᵀᴹ it did?
when did that happen?
 
8-9 months ago
Apr 1 at 12:48, by Paul White
Not a joke. Why they would announce it on April 1 is beyond me.
 
12:40 AM
@ypercubeᵀᴹ Interesting how that slipped by me. guess because I have Dreamspark from my University, and I have three SQL Server licenses thanks to that, I just don't bother keeping tabs on things.
 
 
7 hours later…
7:50 AM
3
Q: Limit user memory usage

Hamid FathiI'm using SQL Server 2014. There are some users who can query the tables. The problem is, that most of the time these queries use a lot of memory. I want to know if there is any way to limit resources per user?

Good question IMHO but the answer is just asking for the OP to come back in a few weeks, with the question "I've got a performance problem....what is the issue?" Is it legitimate to just answer the question without supplying some performance analysis and tuning recommendations?
 
8:17 AM
@PaulWhite Good morning
 
@hot2use There was a comment on a deleted answer that the OP should have included in the question. I have edited that in now. It seems he had a problem with adhoc user queries consuming too much workspace memory, so RG is likely the best option. On the broader point: yes answers that answer the question are valid. It is often possible to contribute a better answer or suggest/make improvements to an existing one.
 
@PaulWhite Are you happy today?
 
@Sami Fine thanks, you?
 
@PaulWhite Were you unhappy yesterday?
 
@AndriyM Not that I'm aware :)
 
8:21 AM
Right
 
@PaulWhite Good job
I think that i do what i should do
Anyway i have a Q for you , if you free to help me
 
@Sami Sure. Ask away.
@AndriyM Have you been answering MySQL questions for long?
 
I have SQL Server 2008
& i foolow this Answer
 
@PaulWhite Not that I'm aware.
 
6
A: How to create and send mail in SQL Server 2008?

Carol Baker West In SSMS object Explorer, click Management Right-click Database Mail Click Configure Database Mail 4.Select Set up Database Mail by performing the following tasks 5.Enter a profile name and click Add 6.Enter the settings for your email account. I could not set the account for my company...

 
8:26 AM
@AndriyM :)
 
But when i open my email
i see nothing in my inbox
 
@Sami If you right click there (like in the screenshot) there is a "view database mail log"
what does that tell you
 
Wait , i will show you
 
@PaulWhite Thanks.
 
@PaulWhite Why did you ask, though?
 
8:32 AM
@AndriyM Just happened to come across dba.stackexchange.com/a/156746/1192
 
Ah, so what I said was not true, then...
I probably didn't pay much attention to the fact or was only too willing to forget it as soon as I submitted the answer.
 
@AndriyM Well it was a true statement: you were not aware.
 
8:52 AM
 
@PaulWhite Yes, I later realised that I should have qualified my response with "not recently".
 
@TomV @PaulWhite
You can see what i got
There are an error on the server messagerie
 
@Sami Yes so your SMTP server returned an error, likely the account/server isn't allowed for relaying
 
So how can i fix that
 
Unfortunately the error message isn't complete in the screenshot
talk to your mail server administrator?
 
8:55 AM
No , what i should tell them?
 
@Sami Point them to the logs.
 
Ok i 'll try now
There is no contact us Link on GMail
@TomV
 
I have no idea how to configure gmail for relaying, sorry
Usually your ISP has a public relaying service, try that it might be easier
What is your internet provider?
 
I'll search
mybe i can find something
My current account,not his supervisor, but the Google - run instead
 
 
1 hour later…
10:32 AM
SELECT translate('["foo", "bar"]'::jsonb::text, '[]','{}')::INT[]; ERROR: invalid input syntax for integer: "foo" It's not so bomb-proof... — dezso 1 min ago
@ypercubeᵀᴹ now I also got to 17k
 
@dezso That was quick! ;)
 
@Philᵀᴹ blame @ypercubeᵀᴹ
 
Seems like a meta-tag to me.
 
@PaulWhite jsfiddle.net/otL2n87c/embedded if it helps
 
12:08 PM
@ypercubeᵀᴹ I missed all the fun :-(
 
It only took a moment, as predicted.
 
12:24 PM
A temporary error.
 
 
1 hour later…
1:44 PM
Ooo site down...and back.
 
right(left(Document,20),10) as InvoiceDate on a table that has an actual invoicedate column
 
1:58 PM
That query isn't working by the way, you are missing comma's all over it for starters. — Tom V 3 mins ago
@TomV Is that a spare comma in "comma's"? :)
 
@AndriyM Is the apostrophe not needed there?
I wasn't sure and was too lazy to google
 
@TomV Sorry, I'm just a little bored. (Missed most of the weekend's "fun" as well.) And no, it's not.
 
@AndriyM was it "fun"? or just fun?
 
2:16 PM
@Lamak Not everything was fun, I gather, some things looked more like "fun".
 
@AndriyM probably some parts weren't explained at great length
 
Msg 102, Level 15, State 1, Line 5 Incorrect syntax near 'WFI'. — Tom V 32 secs ago
The answer is missing some comma's too :)
 
No up votes for the question?
 
@PaulWhite It's only been in a reasonable shape for 5 minutes and I was testing the answer while the op fixed his query
 
@PaulWhite Only once it gets a more relevant tag, hang on...
Ahhh, I forgot to use the "edit tags" feature. Shame.
 
2:22 PM
@AndriyM Perfect opportunity! BTW did you notice that our concurrent edits were almost identical?
It's probably not apparent, but revisions 8 & 7 were both based on 6.
 
Great mind think alike I suppose
 
@TomV Well we might both be wrong, but at least we're consistent :)
 
Eventually
 
@PaulWhite I didn't notice they were concurrent. Now that I know it, yes, it's really impressive.
 
Yeah I was slower and got the orange bar.
 
2:27 PM
I sometimes get it it too and look at the submitted changes in a separate window to decide whether to add them to mine and submit or to cancel mine.
Because sometimes it's easier to add changes the other party overlooked as a separate revision started anew, and sometimes it's the other way round and it's easier to include those I overlooked to my current edit.
@PaulWhite You were more thorough too.
 
I'm often hesitant to answer SQL questions because at some point @ypercubeᵀᴹ will show up and say "yes but you didn't handle X edge case, and this is more efficient by the way"
 
@TomV ha. Don't tak eme seriously.
Unless it's a MySQL question
 
@TomV That's a perfectly good excuse when you don't want to learn about X edge case.
 
@AndriyM That's a nice way to look at it
 
I see it's "blame the cude day" today
Or the cube.
Or the cute ;)
 
2:35 PM
@ypercubeᵀᴹ Nah not blaming you, praising
 
Or the dude
 
I'm nowhere near as skilled in tricks with windowing functions as you and @AndriyM
 
I'm happy to be blamed seeing as I'm in good company.
 
 
1 hour later…
4:08 PM
Waiting for @PaulWhite to prove me wrong
But in the spirit of @AndriyM, I may learn something from posting an answer anyway and being pointed out where I am wrong :)
 
4:46 PM
I'm unsure whether this is Terribad or not... querystorm.com "Supercharge your Excel with full SQL support"
 
5:00 PM
@TomV Upvoted. See also dba.stackexchange.com/q/126235
 
5:14 PM
@PaulWhite My issue not solved
 
5:27 PM
@PaulWhite his issue is not solved
 
I still can't send an email
 
@PaulWhite he still can't send an email ;-)
 
Air
@Philᵀᴹ Looks like a potentially awesome tool that will be applied in terribad ways... so very much continuing the Excel legacy
 
5:53 PM
@Lamak Can you tell me why you repeat what i say please?
 
@Sami I'm just messing with paul
 
@Sami Someone issued echo on ;)
 
:)
 
Using Lamak's account apparently.
 
For a sec , think he is a bot
 
5:56 PM
@Sami I'm curious as well. Why are you specifically asking Paul about this problem of yours rather than, for instance, posting a question on the site?
 
I just ask him
 
@Sami Lamak or Paul?
 
Paul
 
Someone is confusing and someone is confused :)
 
10 hours ago, by Sami
I have SQL Server 2008
 
6:00 PM
@Sami You thought that Paul is a bot?
 
Aaah , No Lamak , when he keep repeat my words
 
Nevermind, you probably didn't notice the linked comment in my question.
 
6:19 PM
@Sami Yes, I remember you requested earlier if he'd agree if you asked him a question, and he did agree. But that's still what I'm trying to understand: the fact that you wanted to ask your question specifically of Paul.
@Sami I mean, I know Paul's got first-class knowledge of SQL Server internals. He's written blog articles about that, he's given presentations on that topic – everyone knows that. I've never heard or seen him demonstrate his profound knowledge of configuring database mail, though.
And that's why I'm asking, because by choosing to address just Paul, you might be limiting your opportunities to get better help. If you posted your question on the site, you'd get more eyes on it, and potentially more experienced eyes too.
2
@Sami Of course, posting a question on the site may mean more work, because, well, the crowd here may be somewhat demanding with regard to how clear your question is or how well you did your homework. But by putting more effort into it you may find the result to be more rewarding as well.
 
6:36 PM
pleased to meet you ... hope you guessed my name
 
@ypercubeᵀᴹ @PaulWhite is the resident Gmail relay expert
@Sami , please understand that this chat box is a place where you can ask a one-off question, and we are willing to help, but we are not a personal support desk. If I remember correctly we didn't see an actual complete error message, but what we did see was an error message originating from the mail server
as long as the mail server is giving you errors, the problem doesn't appear to be on the database end, so you really need to talk to somebody who understands your e-mail setup
@PaulWhite I'm not sure my assumptions are correct, on the one hand the exists seems to be the influencing factor, but on the other hand the query inside the exists seems to influence it as well.
I suspect a combinatino of the exists clause and the not exists inside the query, but what do I know about that
However, the NOT EXISTS could be interpreted by the planner as "we don't expect any rows to be returned"
 
6:54 PM
@TomV That seems testable
 
@Forrest Which I'm wondering about
 
7:07 PM
@TomV You mean: Sami if you want help , Ask a question , this room is not for that
Is that what you mean?
 
@Sami I mean, if it's a quick question, like you asked first when showing the error it's accepetable, but a multiple-hour troubleshooting session isn't
 
So Tom please if i can't ask here just tell me
 
"une erreur de serveur de messagerie" should be an indication that you should look into what error your mail server is sending and investigate that, we can't do that for you
and I doubt it would be a great question for main either actually
What is the actual mail server error, it'll be either authentication failed or relay not permitted, which we can't fix for you, or you can't fix on the database end without knowing what is allowed by the mailserver
 
Ok now i understand , belive me im not well in english so im sorry
Thank verry much :)
 
@TomV So what you're saying is, It Depends?
 
7:12 PM
@Sami That's not a problem, I suck at French too, but there are many forums in many languages that would return a result if you searched for the actual error message
 
@Forrest No, It Depends™
If memory serves
 
Okey
 
PSA: don't google Depends™
 
:)
 
I did google it, and it was all right. I dare not image-googling it, though.
 
7:20 PM
i dare not onebox an image here :)
 
7:53 PM
chicken.
yay
 
lol
 
@Lamak where'd you stay in venice?
 
@swasheck I stayed with some friends of my wife
 
ohsonofa ...
that's no help
 
sorry dude
 
8:06 PM
no problem. just kidding. what else did you do in italy?
 
@swasheck I went to Rome and San Marino
In Rome we used airbnb
it was a great time, to get to know the coliseum and so many other attractions
 
@Lamak nice! we're doing airbnb in riomaggiore (cinque terre) and salerno. hotels in venice and rome (rewards points)
 
@swasheck I so wanted to know cinque terre, but the trip was already busy enough
 
Good night all.
 
@swasheck Wait a minute, are you in Europe right now?
 
8:12 PM
@Lamak yeah. ours is going to be busy and insane
 
@Sami good night
@swasheck nice
 
@Sami bye
 
@AndriyM no. late june-early july we're going to be in italy
 
@swasheck we had a great time visiting so many places
 
@Lamak are you back in the Americas now?
 
8:13 PM
@swasheck Oh I see.
 
@swasheck what places are you going to visit?
 
@Lamak yeah ... but it should be fun. a few days' downtime in cinque terre and amalfi coast area should be nice to make up for the whirlwind time in rome and florence
@Lamak venice -> riomaggiore -> florence (stop in pisa) -> salerno -> rome
 
@ypercubeᵀᴹ ah, yeah, I'm in chile now, was just for late December last year and january
@swasheck nice
 
-> denver :)
 
@swasheck we had a more chaotic trip though. It was something like Barcelona->Paris->Brussels->Amsterdam->I don't remember the name in Slovakia->Berlin->London->San Marino->Rome
and I'm missing a couple of places
ah, Venice
 
8:17 PM
@Lamak oh my ... yeah ... we're doing denver -> nyc .... -> nyc -> denver. once we're in italy we're averaging 3 days per city. just enough time to get used to it and then then load up and take a train
 
@Lamak Bratislava (in Slovakia)?
 
@AndriyM that's the one
@swasheck good plan
 
@swasheck I've been flagged twice or thrice in a few days...
 
@TomV that's crappy. sorry to hear it. probably by some humorless neophyte
 
@Lamak Ah, I thought it was more recent.
 
8:28 PM
@swasheck Nah, I kinda let a troll get under my skin and reacted
and @Lamak wasn't involved
 
@TomV i understand ... sometimes you just have to ignore @billinkc
 
@ypercubeᵀᴹ I wish
@TomV I can't believe I missed all that
well, I was on a little trip though, so I don't regret it
 
8:54 PM
Hello ? Can I ask a question here ? I am not sure how to tag it
 
@UDKOX You already have asked one or two ;)
 
lol
Okey Here I go
 
@UDKOX It Depends™
 
Let's suppose I have a table in my DB for gender
 
ok
 
8:56 PM
table : id (int) & desc (varchar)
1 Man
2 Woman
In my application I ask the user his/her gender with a Spinner
How do I correlate the values (1 & 2) with the input of the user ?
Does it make sense ?
 
desc is probably a terrible column name since that is also a reserved word - order by foo desc
 
It was an example, the real attrobute is "name" I think
 
@UDKOX sounds like a question about programming, not databases
 
I did not design it, it was made previously :(
Any idea where to ask it ?
 
You are likely looking at two tables: One is a lookup/reference table that holds the list of allowable values. You then store the information into a different table and define a relationship (foreign key) from Users table to Gender
 
8:58 PM
What room to go ?
 
I mean, your application needs to be able to show the description, but insert the Id in the corresponding table
@UDKOX none
 
Likely StackOverflow but then you'd need to get into specifics - what would you like to code this in?
 
you should ask a question in SO
 
Can't ask in SO ^^ many downvoted questions
even though they were deleted :(
 
Wonder why
 
8:59 PM
ah, well....can't help you with that
 
The thing is that the description (man & woman) is not read from the DBV
DB
 
this is a programming question, and this room is for databases related topics
@UDKOX why?
 
It's android
 
Not sure how chat ended up being the place for ill-described questions
 
we have the strings and translations added in the App
 
9:00 PM
and android can't read from tables?
 
Android has already a multilanguage implementation so you just write the Strings in an XML
 
well...this seems even more like an unrelated topic here then
 
Yepp.. Don't know where to ask it ho
though
 
@UDKOX there is an android site: android.stackexchange.com
 
can't help you with that, I'm not a developer, so I don't have the need to go to programming related chat rooms
 
9:01 PM
It's not really only related to Android but I guess i will try
 
As an unrelated, I'd look at the How to Ask section and ensure you're following the guidelines for each site
 
Thanks !
I didn't know where to ask it :(
I am sorry
 
The issue may be more of a "how" than " where"
 
Wasnt it clear ?
 
Not trying to be rude or anything, but try to make your question clear, and think about your exact problem
specific I mean
 
9:03 PM
that was my exact problem xd
when savin into db i dont know what value I shouydl insert (1 or 2 for man and woman)
 
But you presented one aspect to the problem but then it changed
 
wish me luck!
 
@UDKOX no, it wasn't. You started your question as if it was database related only, then went to add about your app, and then that it's for android
 
oh, why ?
 
luck
2
 
9:04 PM
it could have been java
 
You ask us why?
 
or C#, or php
 
Yes, it could have been anything, that's a large part of the problem maybe
 
its not related to 1 progoramming language
thats why i asked here
holy cow this new keyboard sucks ...
 
I don't understand, you need to insert 1 or 2, depending on the gender probably
 
9:05 PM
It's a poor musician that blames their instrument
 
@UDKOX Whatever the language, your app should be able to read from tables. Make it - when it starts - read from that "gender" table. Then it will know that 1 is Man and 2 is Woman.
 
Yes, the thing is I need to know if 1 stands for man or woman
 
@UDKOX How would we know?
 
yes, and I have magic values
hate*
I got that code in my new job
its horrendous
 
I'm out
Phil will handle it from here :)
 
9:08 PM
What have I walked in to?
 
poor Phil xd
I will ask somewhere, np
 
DO NOT ANGER THE PHILᵀᴹ
 
@Philᵀᴹ The new and improved dba.se, with more traffic
:p
 
We need more tbl questions
 
Is that the site that has questions about that piece of crap that isn't a real RDBMS? SQL Server, was it?
 
9:10 PM
@Philᵀᴹ we don't know the RDBMS for this one yet
 
CREATE TABLE questions
(issue varchar(30), tried varchar(100), stuck_at varchar(100))

INSERT INTO questions
VALUES (' log file too big!!!',NULL,'plz help')
 
9:38 PM
hi all
 
Air
create trigger kthxbye
instead of insert on questions
execute procedure mock_user();
 
How do I do integration tests against my database when the things I would like to test modify state, and I can't have that in production?
 
 
1 hour later…
10:42 PM
HALLO!!!!
 
Good luck with your project — Philᵀᴹ 2 hours ago
 
@dezso SNARK ON
 
10:58 PM
Been awhile heapsters!
8
 
11:27 PM
@CadeRoux still alive! where have you been?
 
11:41 PM
Working, Ingress, the usual. But now in market for a new job because new CEO is shutting down this office. On retension until March 31.
So using this time to refresh on some other technologies, scope out opportunities, etc.
 

« first day (2163 days earlier)      last day (2721 days later) »