« first day (2015 days earlier)      last day (2303 days later) » 
05:00 - 11:0011:00 - 18:00

user7912927
5:23 AM
@Sami hahahaha xD xD xD
 
5:39 AM
Morning!
 
6:04 AM
Morning dudes
 
6:48 AM
morning friends
 
Goodmorning guys o/
 
Hey Tomm morning
 
Who is the channel owner, mod or w/e
 
@Tomm Oh you have a twitt account I'll folow :)
 
7:03 AM
:P
I am very inactive
 
Me too :D
 
Ty xD
 
@Tomm Which channel?
 
this one
 
YouTube? or you mean this chat room?
 
7:07 AM
What do you mean lul
I asked who this channels owner or mod was
 
I dunno lol
OMG Conversion failed when converting date and/or time from character string
That error Msg is clear, I don't know why most of users read it, understand it, and fix the issue.
 
I know right
I mean the error is clearly telling you so straight what is wrong
 
That's not the end of the story, most of users don't know what he use MySQL or SQL Server, they always tag them both :(
Sometimes ORA too
 
When i started with mysql i did the same, but now that i am further it really bothers me
just like everyone always assumes your using mysql
 
At least you learn what is an RDBMS
 
7:53 AM
good morning
 
SQL Server question:
CREATE TABLE MyStrings (
    StrID INT IDENTITY (1,1) NOT NULL,
    Str NVARCHAR (200) NOT NULL,
    CONSTRAINT PK_MyStrings_StrID PRIMARY KEY (StrID)
    );

INSERT INTO MyStrings (Str) VALUES
(N'AlphaPlatz;K123;Omco;DZ1000'),
(N'AlphaRomeo;R01;Bimbo;DZ1200;N/A'),
(N'AlphaPlatz;Sig;B1003;Junder;DZ16;N/N');
Expected results:
K123
R01
B1003
 
8:09 AM
Don't have 2016
 
8:20 AM
morning
 
Hey o/
 
@Sami

SELECT
SUBSTRING(N'AlphaPlatz;K123;Omco;DZ1000', CHARINDEX(';',
N'AlphaPlatz;K123;Omco;DZ1000', 0) + 1, CHARINDEX(';',
N'AlphaPlatz;K123;Omco;DZ1000', CHARINDEX(';',
N'AlphaPlatz;K123;Omco;DZ1000', 0) + 1) - CHARINDEX(';',
N'AlphaPlatz;K123;Omco;DZ1000', 0) - 1)
 
@Sami sup?
 
@AndyK Stuck on string split as you can see
 
@AndyK are you by any chance a mod on this channel
 
8:23 AM
@SankarRaj Thanks man, but that return "Sig" instead of "B1003"
 
oh @Sami i didn't see that one
 
@Tomm yes
 
This is bothering me andy
we will need an MVCE --->
stackoverflow.com/help/mcve
MVCE mcve
 
@Tomm -_-
 
?
 
8:26 AM
1 hour ago, by Sami
YouTube? or you mean this chat room?
 
Yeh what do you mean with that
 
1 hour ago, by Tomm
What do you mean lul
 
Sami talk to me like a human
this is getting really confusing
I think there is a language barrier here
 
You can say "this chat room", instead of "channel"
 
does that matter
 
8:29 AM
anyway, forget about it
 
this is a channel
 
@Tomm I change that later
 
ty
 
@Shaneis Where are you man
 
hi all
 
8:36 AM
hi
 
@WhatsThePoint o/
 
i love it when new users unnessarily comment, get so many helpful flags for it :D
@Sami /o
 
@WhatsThePoint You mean you love to flag new users comments
 
@Sami well they comment details that should be in the post, so i tell them to add it to the post, then they say thanks, bam 2 flags right there
 
Brutal
 
8:40 AM
ha ha
 
@WhatsThePoint You do a lot of brutal reviews
 
check this
 
hey @WhatsThePoint
 
@AndyK heyy
 
LOL poor new user he don't know that @WhatsThePoint is brutal reviewer :D
 
War
8:43 AM
morning all
 
i didnt flag until the info was put into the answer
 
@War Morning my blue :)
 
@War \o
 
@WhatsThePoint You edit the Q?
lol
 
@War hi
@Sami he edited
 
War
8:44 AM
today i need to find out how to speed up the stack ... and look in to building some DMS functionality in to the system
 
@War Seems like "I'm busy today don't ping please"
----------------------------
| Busy, don't ping please|
----------------------------
 
good morning guys o/
 
@Sami i am only 102 flags away from a gold badge
 
War
meh ... I barely have time to scratch my arse most days
 
@Mofty Morning
 
War
8:48 AM
@WhatsThePoint oooo there's a badge for that
@sami sorry but i need that badge
@Sami it has to be done
 
can someone give me a good advise with datatype i should use to store uuids in a oracle DB?
 
500 helpful flags
its my next tracked badge,
 
War
ah ok
not the same as chat pings
dam
we need a chat pings badge lol
 
@War He will flag us too :D
lol
 
War
haha
 
8:50 AM
ill flag anyone as long as i get my badge
 
War
is there any way to make SQL faster ... it's such a slow machine
i only gave it 150k of SQL in that batch
it made me wait like a whole second
 
get a better machine
 
War
disgusting
could turn up the VM ... few more cores, add another 16GB of ram or something
 
add ram, run script, take your ram back
 
@War Don't make me cry
 
War
8:53 AM
why would you cry ?
I'm only gonna change some settings
 
Slow machine mean "me"
I have the slowest machine ever
 
War
I don't do slow machines
I just throw money at the problem til it goes away
I need to stop doing that
it's gotten so bad I bought a new mobile yesterday
pre-ordered a new OnePlus 5T
 
Congratulation for the new phone @War
 
War
meh
I'm gonna have to deal with Android
not looking forward to that
it's a maze of poorly written apps and broken links
 
@War eww android
 
8:58 AM
I have a phone from 2013
still the same phone until this day
 
War
exactly @WhatsThePoint
My current windows phone is far superior
 
@WhatsThePoint @War btw, can you help me with my question?
 
androids a so security flawed
 
War
maybe
doubt it though
i'm not that smart
 
can try
 
9:00 AM
@War what advantages does windows have?
 
War
where is it ?
 
not sure i can be much use
 
War
@Mofty has some great features
stuff like combined messaging
so instead of having an app for fb, skype, sms, ect, ect
I just go to messaging
 
59 mins ago, by Sami
SQL Server question:
 
War
and i can message any contact from there on any social media platform
 
9:01 AM
okay that's really nice
 
when i was on windows i loved the built in translate app that can use the camera
 
Was?
 
War
CREATE TABLE MyStrings (
    StrID INT IDENTITY (1,1) NOT NULL,
    Str NVARCHAR (200) NOT NULL,
    CONSTRAINT PK_MyStrings_StrID PRIMARY KEY (StrID)
    );

INSERT INTO MyStrings (Str) VALUES
(N'AlphaPlatz;K123;Omco;DZ1000'),
(N'AlphaRomeo;R01;Bimbo;DZ1200;N/A'),
(N'AlphaPlatz;Sig;B1003;Junder;DZ16;N/N');
 
iphone now
 
War
is that a question ?? ^^
@WhatsThePoint wouldn't buy apple if you paid me
 
9:03 AM
@War Yup
 
War
those guys are like leeches
@Sami ok my answer is ... Yes
is that right ?
 
never had a problem with apple
 
@War Are kidding me, yes for what?
 
War
@WhatsThePoint and how much money have you poored in to iCrap ?
 
not that much, been mainly gifts from my parents
 
War
9:05 AM
@Sami it's just some SQL
not sure what you're asking
 
whats the question sami?
 
War
@WhatsThePoint I know a bunch of guys desperate to get off the apple platform because they keep having to spend more and more money
apple have this need to force you to upgrade your now £1,000 device each year to get 1 new feature
 
Did you both see the "Expected results"????????
 
War
the current running joke ... buy an iPhone if you want a 3 year old semgung
 
you arent forced to upgrade, only if you want the feature, im still on 6s
 
War
9:06 AM
then once you spend £1,000 on the latest iPhone you have to buy in to all the rest of the crap to get the most from it ... like apple TV
which charges you for everything you view
 
@Sami Welcome to Stack Overflow! Pure code-writing requests are off-topic on Stack Overflow -- we expect questions here to relate to specific programming problems -- but we will happily help you write it yourself! Tell us what you've tried, and where you are stuck. This will also help us answer your question better.
:D
 
War
instead I have a plex server and spotify and free apps that run on my mobile to stream any content I want from those services
and i only paid less than half the cost of an iPhone for my device
 
@War Sure he will flag us all :D
 
War
Apple really piss me off with their attitude
 
room topic changed to SQL: Got a SQL question? Any SQL flavor here, just ask. Indicate your db, quick question: quick answer. Long question, we will need an MCVE ---> stackoverflow.com/help/mcve you can build it with this -> dbfiddle.uk or sqlfiddle.com. Thanks. [db2] [mysql] [oracle] [postgresql] [rubberduck] [sql] [sql-server] [tsql]
 
War
9:08 AM
was that a hint ?
back to SQL ....
so
 
i have kodi on my firestick, get everything for free
 
No, it's a request from Tomm
 
War
@Sami feels like you just need to write a simple select statement
not sure what your problem is
select * from MyStrings
wait you trying to get substrings from that ?
 
Finally
 
War
does MySQL have STRING_SPLIT ?
 
9:11 AM
@War SQL Server man SQL Server
 
@War wasnt it sql server?
 
War
oh ok
now we are rocking
I figure this is where we get started
 
I have 2008 @War not 2016+
 
War
doh!
there's always a catch
71
Q: T-SQL split string

Lee GrindonI have a SQL Server 2008 R2 column containing a string which I need to split by a comma. I have seen many answers on StackOverflow but none of them works in R2. I have made sure I have select permissions on any split function examples. Any help greatly appreciated.

 
@War i think the issue is the expected output is after the first ; for two rows but after the second ; for the third row
 
War
9:12 AM
<--- totally on fire right now
then we need to wrap that in a result set that contains row numbers
then select value at row number 2 surely
so if we mod that split function from above to something like this ...
CREATE FUNCTION dbo.splitstring ( @stringToSplit VARCHAR(MAX) )
RETURNS
 @returnList TABLE ([Row] int, [Name] [nvarchar] (500))
AS
BEGIN

 DECLARE @name NVARCHAR(255)
 DECLARE @pos INT

 WHILE CHARINDEX(',', @stringToSplit) > 0
 BEGIN
  SELECT @pos  = CHARINDEX(',', @stringToSplit)
  SELECT @name = SUBSTRING(@stringToSplit, 1, @pos-1)

  INSERT INTO @returnList
  SELECT @name

  SELECT @stringToSplit = SUBSTRING(@stringToSplit, @pos+1, LEN(@stringToSplit)-@pos)
 END

 INSERT INTO @returnList
 SELECT (select count(1) from @returnList), @stringToSplit
that will get us a result with row numbers in it
then you can do some funky sub selection stuff
select (select Name from splitString(Str) where row = 2) as Value
from MyStrings
something like that
@Sami are we good ?
 
War
wow brutal
well however you choose to do it ... make sure the split function returns a result set in the form ...
rownumber, value
that way you can select as I did above
looks like you have what you need at this point though
 
Yeah
 
yep, i would not have got that
 
9:46 AM
my brains are fried
I've spent 2 hours calculating pointers in binary data files, I've come to a point where I see numbers float and don't know what thye mean
and I made it like 10 minutes ago
 
@HéctorÁlvarez I've never tasted brain fried ... wondering what would be the taste...
 
@AndyK i know a guy for that
 
@AndyK they probably taste like chicken
 
brain fried hector
BFH
branch of KFC
;)
 
@AndyK KFC's black market subsidiary
 
10:08 AM
Hello everyone please can someone assist me on how to do this in MYSQL?
` WITH i AS (
SELECT post_image_id,
group_concat(photo_url ORDER BY photo_url) WITHIN GROUP (ORDER BY photo_url) imgs
FROM social_post_photos
GROUP BY post_image_id
) `
i have a demo link here http://sqlfiddle.com/#!9/9c39ef/28
 
@WhatsThePoint Free flags
 
@Sami where?
 
^ there :)
 
I've got a simple web app connected to a SQL Database
And on the HTML page, there's a drop down list
 
@CrashBandicoot What you mean by SQL db?
 
10:10 AM
When a user clicks on one of these options, that option's details should be retrieved from the database and viewed on the html page
@Sami SQL Table
 
@CrashBandicoot Define it, Which DBMS
 
Collection of data stored in a table, that can be retrieved later on
 
@PhilipJems you might have to wait a bit for a mysql expert
 
@WhatsThePoint thank you
 
@PhilipJems your fiddle seems to be ko
 
10:12 AM
SQL Server MS
 
@AndyK *Ok
 
@AndyK did you see the error DDL and DML statements are not allowed in the query panel for MySQL; only SELECT statements are allowed. Put DDL and DML in the schema panel.
 
@PhilipJems DDL and DML statements are not allowed in the query panel for MySQL; only SELECT statements are allowed. Put DDL and DML in the schema panel.
 
@Sami im going through some of my really old posts looking for any comments i can flag as no longer needed :D
 
lol
 
10:14 AM
@AndyK the query didn't return the rest of the of the data
 
@WhatsThePoint Did you flag the question?
 
no
question doesnt need flagging, but obsolete comments get free flags
 
@AndyK the problem might be from here WITH i AS (, when i run the query on my app, it returned only one data and rest of the datas are not shown
 
Question need to be flaged as off-topic
 
legitimate questions @Sami
 
10:17 AM
That's not reproducible
He say that he have a ? in the result
 
@AndyK here is a link to question i asked about it, but now i need it in MYSQL not Oracle
https://stackoverflow.com/questions/47265499/how-to-combine-post-table-and-image-table-using-sql-left-join-and-union
 
SELECT post_image_id,
group_concat(photo_url ORDER BY photo_url) WITHIN GROUP (ORDER BY photo_url) imgs
FROM social_post_photos
GROUP BY post_image_id
what is that?
 
\o/ I have SSMS 17.3 now
 
@PhilipJems When I run this
		  SELECT post_image_id,
			 group_concat(photo_url ORDER BY photo_url) WITHIN GROUP (ORDER BY photo_url) imgs
		  FROM social_post_photos
		  GROUP BY post_image_id
I have this
Query Error: Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP (ORDER BY photo_url) imgs FROM social_post_photos GROUP BY post_im' at line 2
 
10:22 AM
@AndyK Link please mybe I can help you
 
@AndyK That line is the problem WITHIN and WITH is not MYSQL tag
 
61 messages my god guys
xD
 
@Tomm Good morning
 
Again....
xD
ty i guess
Tomm
Goodmorning guys o/

Sami
Sami
Hey Tomm morning
 
@AndyK when you run this it will work but not as expected

SELECT
post_image_id,
group_concat(photo_url ORDER BY photo_url) imgs
FROM social_post_photos
GROUP BY post_image_id;



SELECT sp.post_body_message
FROM social_posts sp
LEFT JOIN vendor_account va
ON sp.vendor_owner_id = va.eu_vendor_id
LEFT JOIN social_post_photos i
ON sp.social_page_id = i.post_image_id

WHERE sp.social_page_id = 'page1'
AND sp.vendor_owner_id = 'v100'
 
10:24 AM
@Tomm The 2nd "good morning" mean that you was sleepy while we chating (61 msg) :p
 
only 61? youve clearly not had a 200+ notification yet then
 
I wasnt sleepy i was bussy with work :p but i like it
 
@PhilipJems do you need a CTE to do what you want?
@Shaneis ?
 
So frustrating
 
?
 
10:32 AM
I'm so bad at coding
 
@AndyK any how you can help me because this has been long and am scared if i ask another question about it it might get downvoted. If you can see this question stackoverflow.com/questions/47265499/…, to understand what actually am trying to do or if you want me to post a question and send you the link so you can answer it
 
Me to
 
*too
 
Sami
11:24
@Tomm The 2nd "good morning" mean that you was sleepy while we chating (61 msg) :p
means* was=were while=whilst we were chatting ( instead of chating )
 
@Tomm pls no use of dictatorship referece and no curse word
 
10:34 AM
wanna start this
sorry andy
I get extremely tilted when people correct my lazy mistakes, especially when their own english is not amazing
 
@Tomm Thank you to correct my mistakes :)
 
* Thank you for correcting my mistakes ^
 
Sorry if that annoy you
 
Do not make me do this please
Apologies accepted
 
I don't mind if you correct my mistakes, that make me learn :)
Here in SO, I'm learning many things
 
10:40 AM
xbox one or PS4? Leaning towards xbox...
 
ps4
 
its mainly to watch sky tv through and play FIFA
I'm used to xbox
 
My opinion
I do not care about the console
but xbox controllers are kinda messed up
 
yeah
 
playstation has normal controllers
 
10:41 AM
any games I really want to play I play on my PC anyway
 
If you are used to xbox just get xbox
 
:-)
 
And what do your friends play
 
xbox!
 
if alot of your friends play fifa on ps4 maybe consider ps4
answer solved
 
10:41 AM
is there a new console out soon?
I saw something about a new xbox
 
I think they are working on a xbox x
xbox one x is out already
its pretty nice
it is a bit more pricey though € 499,99
 
what does it do? Just better graphics etc?
christ that is dear
 
I think it has better specs
So also better for upcomming games
 
Thanks Tomm
 
10:43 AM
Np :)
 
think my mind is made up for just ordinary xbox
 
yeh especially since your main platform is pc
I do not see you spending alot of hours behind a 500$ xbox compared to your pc
 
sorry guys, meetings. Morning all
 
@WhatsThePoint I'll be happy if I see you in SOCVR
 
yeah PC had a nice £150 gfx card fitted last year...so might as well make use of it. Was to play the new HItman game
 
10:46 AM
Morning @Shaneis
 
hey @Tomm
hey @Ricky! how's the replication going?
 
@Shaneis Hi mate...been very good recently!
been stable
 
@Ricky really? That's great! How'd you get around the collation issues?
 
@Shaneis Hey hot Shane
 
plus have been doing some replication within the same domain and no collation changes, its a doddle compared to the other replication setup
 
10:48 AM
@Ricky cool!
 
I spent about 2 weeks gradually putting together a collation master script
 
Morning @Sami
 
to run if I have to rebuild
its got 3800 lines haha
 
Respect!
 
@Shaneis I'm happy today :)
 
10:49 AM
@Ricky haha as long as it works!
@Sami cool! How's the investigation of the SO database go?
 
@Shaneis means you can change collation in a couple of hours, rather than 2-3 evenings :-p
 
@Shaneis On hold now, Installing SSMS 17.3
 
@Sami oh nice! Have you checked out Operations Studio yet too?
 
nope
 
@Ricky I cannot star that message enough. Automation FTW!
@Sami it's not bad, very immature yet though. SSMS 17.3 would be much more useful for you right now
 
10:52 AM
@Shaneis I starred that message....Starception...
 
@Ricky hahaha!
 
but yeah with replication behaving itself its allowed me more time to get back to powershell
 
@Shaneis I'll take a look
 
@Sami cool, but the moment you feel like you're wasting your time, put in on hold and get back to the fun stuff @Sami :)
 
:D
 
10:54 AM
@Ricky ah PowerShell, knew there was a reason I thought you were cool @Ricky
 
haha
@Shaneis I try to use it for everything now haha...when I get asked to do something I first think "how can I get powershell into this"
 
@Ricky I'm currently fixing my morning Pester test of my SQL environments and trying to automate a report creation
my only problem is people have started saying to me "Do it first, then you can Powershell it" :$
 
so migrating an old DTS report package from a SQL2000 server - I deceided to just use Powershell to call a stored procedure and then ftp the file off, so much easier
@Shaneis hahaha yep
 
@Ricky oh man, yeah you're on SQL2000!
...
yeah...that sucks
 
yeah one old server is sql2000...nightmare
@Shaneis Do you have daily checks you've automated with powershell?
 
10:59 AM
@Ricky Yeah so far I've used pester to check backups and VLFs,
 
05:00 - 11:0011:00 - 18:00

« first day (2015 days earlier)      last day (2303 days later) »