« first day (2106 days earlier)      last day (2212 days later) » 

04:07
Hi, i want to create a relation between tables that if I update the status of category, the status of products under that category should also be updated! I added a PK-FK relationship on category table and product table with ON UPDATE CASCADE and ON DELETE RESTRICT. but how to update when status changes from 1 to 0
 
1 hour later…
05:17
Morning Guys :)
 
1 hour later…
06:33
@Sankar morning dude
07:26
Morning guys
morning @Zulatin
07:58
good morning
morning guys
@noon guys
is it possible to leave community
I joined this community Interpersonal Skills .. and figure out there is enormous amount of morons
so how I leave it?
be like hey i had a great time with you guys or something . but this is not really for me
hehe wtf man :D
i don't need which sentence to use :) i just need to figure out how to delete profile from specific community, if i delete it from that Interpersonal Skills site, will it delete my SO account also?
08:06
or... @Veljko89 i finally found myself because of you guys and i think i can go on my own, so farewell fellas
^Thats the more mature approach xD
there is something really wrong with you people :)
lol
hehe
@Veljko89 we're just messing with you.
08:07
xd
@Veljko89 why you want to delete an account there? just stop joining/going there?
noticed :)
@AndyK heyyy o/
deletion of profile goes per community
awesome :) got it all sorted
I have a strange thing tho in C#
@ARr0w morning
08:12
My manger asked me to help him out with export of around 400k rows from DB to excel
@AndyK noon dude
@ARr0w sup?
we used EPPlus, and I managed to fix the code, and successfully exported 400k on my machine (32bit windows, 4gb of ram) while we tried same code on his machine (64 windows, 8gb of ram) and it doesn't work on his
error he get is memory exception ... which is odd
@AndyK working on a project called DIT and trying to understand how tensorFlow works
this guy have multiple clinics im america, big client.
nice css there
08:18
this is all front end, that ain't me. im working on its business logic.
his business functions are really complex :P
@AndyK you tell?
08:36
morning guys
09:03
morning
hey guys
@Veljko89 most likely due to architecture bounds, memory is handled differently
which is really odd ... that better machine can't handle it, while worst can
I feel tired
@Veljko89 because memory falls out of bounds
it's not just expanded in capacity, it is also assigned differently
at low level it probably tried to write to a block in an address considered out of bounds
09:24
Hello, guys! I want to show a top rated list of products to the end user. I know I can add a column to my products table as a flag. Is it reasonable to use something like Class Table Inheritance and mak a "subset" table of products, I mean a separate top rated products table?
If your extra column is a priority/rank of sorts, you can just sort the results by that? maybe im missing something
@lexeme How you determine a product is top-rated.?
First off, we're dealing with real estate. Top rated properties are picked by admin
Having a priority column is a great idea, but that would require processing whole products table? Whereas having operations on a subset table seems more efficient?
10:14
I would create a new table with rankings
item and ranking, make ranking unique
and nullable
guys
Does this CONCAT() function will work in 2016 sql server ?
@HéctorÁlvarez thanks
@DeadCat Yes, It will work
10:57
thanks @Sankar
 
1 hour later…
12:07
Can someone please help me setup postgresql and use it with psycopg2?
It's the third time I'm trying to use it and getting sick of everything in the world!
does anyone see my msgs?
No idea about postgresql :( mate
anu
anu
12:39
@yukashimahuksay you can try getting in touch on their mailinglist and github
reach out to the developer Daniele Varrazzo (at gmail.com)
12:54
how I can query and find the count of records that has empty arrays in a specific JSON field in Postgres

say table name is Product, field name is locations (which is json)
Sorry, but I think I speak for the majority when I say postgres is a DBMS that few people in here have used, and probably nobody has dwelved too deep into that
is there a better chat room I can ask in?
13:47
@HéctorÁlvarez Then what free RDBMS do you guys use when you need high performance and some scalability?
@yukashimahuksay Free? Well, you have a problem with that
SQL Server/Oracle are top-end, for something small I would exclude Oracle. Then you have MySQL, I heared MariaDB is nice, but MySQL is MySQL
I don't like free RDBMS, you pay for what you get in this context, and SQL Server is usually the best balance between cost and performance
and it will let you move from A to B, whatever you case scenario would be, as long as you build stuff consistently
 
1 hour later…
15:17
Hello world,
What is the best way to insert a query onto an existing table, would it be this

insert into t1 * values (select from t2 union t1)
are t2 and t1 same with columns?
select field into newTable from MyTableWithData
That's for SQL Server
he wana insert from table to another table
@Veljko89 yes, their columns are all of the same type (union compatible).
@HéctorÁlvarez I think this might be the solution i need, thanks ill try it out. im using google bigquery btw
by the way the table I am inserting into already exists
15:47
Meanwhile, is anyone aware whether it's possible to simulate SSRS' capability to select 1-many-all in a raw MSSQL stored procedure?
 
2 hours later…
17:20
Hi, I'm creating a stored procedure. I have 2 columns, forename and surname.
I'm able to combine them using this statement;
REPLACE(dbo.Employee.Forename, ' ', '') + ' ' + REPLACE(dbo.Employee.Surname, ' ', '') AS EmployeeFullName

If I wanted to search by the EmployeeFullName, how would I do that?

WHERE EmployeeFullName = @Name
18:02
SELECT * FROM
(
--copy your current select statement here
)
WHERE EmployeeFullName = @Name
 
4 hours later…
22:01
Hi again, given the following table:
+------+-----------+
| item | frequency |
+------+-----------+
| 1 | 1 |
+------+-----------+
| 2 | 3 |
+------+-----------+
| 3 | 5 |
+------+-----------+
| 4 | 3 |
+------+-----------+
| 5 | 1 |
+------+-----------+
How would I calculate percentiles? So in this case the 50th percentile is 3 since its the median.
Are there any built in functions that can help simplify this or must it be done another way. I am using google bigquery
sorry the asci art is a bit off. the first column item has 1 2 3 4 5 as its values, and the second column frequency has 1 3 5 3 1 as its values

« first day (2106 days earlier)      last day (2212 days later) »