search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉649990163

P粉649990163

Follow
student

Follow 0
fans 0
integral 0
How can I do a BEFORE UPDATED trigger with sql server?

I'm using Sqlserver express and I can't do before updated trigger. There's a other way to do that?

2026-01-10 18:00:11Ask
MySQL
Group multidimensional array data based on two column values and sum values of one column in each group [duplicate]

I have an array which is created as a combination of two database queries from two separate databases, it looks similar to: $arr1 = [ ['part' => '1', 'add

2025-12-27 09:01:14Ask
PHP
How to serve http partial content with Go?

I have a webserver written in go and I'm serving some audio files from different sources (local, other servers, S3). I want to enable serving partial content for this files so the HT

2025-12-12 13:01:07Ask
Python
Mysql returns some records as empty in date field because date has multiple formats

I am trying to analyze order_date column and the column has multiple date formats and I want to convert all these dates to the same format which will make it easier to analyze order_date. I am trying to analyze order_date but this column has multiple date formats 2019/07/15 and 1/13/2014 but while using query to convert dates in different formats to one format yyyy/mm/dd. selectdate_format(order_date,'%y/%m/%d'),orderi

2024-04-06 13:29:40Ask
MySQL
Why can't I install the btree module in Python

PSC:\Users\MYPC>pipinstallbtreeCollectingbtreeUsingcachedbtree-0.2.1.tar.gz(40kB)Installingbuilddependencies...doneGettingrequirementstobuildwheel...errorerror:subprocess-exited-with-error×Gettingr

2024-03-31 15:27:19Ask
JavaScript
Observe global route changes and perform certain operations in Nuxt2

I'm using NuxtJSv2 and need to run a function during every page change and page load, I know I can add a route observer in a layout, but that means it has to be added to every layout, I have many, e.g. :<script>exportdefault{watch:{$route(to,from){console.log('routechangeto',to)console.log('routechangefrom',from)}}

2023-12-21 18:00:30Ask
Vue.js
After PHP 8.1 upgrade, sqlsrv pdo driver cannot be found

After upgrading to php8.1 (LinuxPHP), the Azure webapp seems to have no driver for MSSQL. No problem with php7.4. Following this guide (https://learn.microsoft.com/en-us/azure/app-service/deploy-local-git?tabs=cli), the steps to build and configure Azure App Service are: azappserviceplancreate-grg-MyResourceG -

2023-12-19 13:46:28Ask
PHP
Create PHP parallel processing from getResult principle request

I want to do some kind of multi-threading in a PHP8/Symfony6 environment, the way it works is as follows: I am making a principle request that serves about a million rows and I want to create multiple parallel processes to process the rows at the same time. My request is made via getResult() which serves the doctrine object. Is there a way to create a thread with an array of objects as parameter. Then create threads whenever my "queue" is filled with data? I found some information about "pthreads" or "popen" but I'm not sure if it's still relevant because the main

2023-09-14 19:30:46Ask
PHP
UI in Reactjs not being updated

I'm learning React and picked up some basics, so used that knowledge to make this basic project. I'm making a simple note-saving app using React and Firebase. Data transfers to Firebase database flawlessly. retrieve data. The problem I am facing is that the data fetched is not updated in the UI. import{useEffect,useState}from'react';import{AiFillCaretUp}from'react-icons/ai';im

2023-08-14 17:32:30Ask
React
Tips to simplify single-file relative path management

How do I manage relative paths in a project from a single file, since editing or updating is cumbersome and I would like to have a separate file to handle it. //If the role is a user, redirect to the homepage, otherwise redirect to the admin dashboard if($_SESSION['role']==='user'){header('location:./../.. /index.php');//This}else{header('location:./../../admin/index.php');//This

2023-08-09 11:47:35Ask
PHP