본문 바로가기 메뉴 바로가기

Mit

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Mit

검색하기 폼
  • 분류 전체보기 (142)
    • Maui (7)
    • Xamarin (33)
    • WPF (47)
    • VBA (3)
    • C# WinForm (7)
    • ETC (41)
  • 방명록

ETC (41)
MSSQL Count, Percentage

SELECT Category, -- Replace with your actual column name for category COUNT(*) AS Count, CAST(COUNT(*) * 100.0 / SUM(COUNT(*)) OVER () AS decimal(10,2)) AS Percentage FROM YourTable GROUP BY Category;Result-------------------------Category     Count     PercentageM                    10                 10.0W                    90                 90.0

ETC 2024. 5. 10. 11:21
SQLite Upsert Query

Create Table SaveChat ( ChatDate Date , ChatVar varchar(20),  ChatName varchar(50),  ChatCount Integer, Constraint tb_product_group_PK Primary Key(ChatDate,ChatName) )------------------------------------------------------------------------------------INSERT INTO SaveChat (ChatDate, ChatVar, ChatName, ChatCount) VALUES (@ChatDate, @ChatVar, @ChatName, @ChatCount) ON CONFLICT(ChatDate, ChatName) D..

ETC 2024. 5. 8. 18:52
.Net 7 라즈베리파이 설치

.Net 7 라즈베리파이 설치 wget -O - https://raw.githubusercontent.com/pjgpetecodes/dotnet7pi/master/install.sh | sudo bash 참고> pjgpetecodes/dotnet7pi: Install .NET 7 on a Raspberry Pi with a single line. (github.com)

ETC 2023. 9. 14. 13:06
IIS .Net 7 응용프로그램 배포하고 실행할 때 오류 해결.

Error. An error occurred while processing your request. Request ID: Development Mode Swapping to the Development environment displays detailed information about the error that occurred. The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment ..

ETC 2023. 8. 30. 19:42
MSSQL PatIndex활용 문자열 혼합된 데이터 일괄 업데이트

PatIndex('%[^0-9]%' 로 nums의 3자리가 int형인지 검사하고(참이면 3, 아니면 0) 자기 자신 db를 조인해서 일괄업데이트진행. ________________________________________________________________________________________ Update db set ClsNum == aa from db as A Join ( Select aa, ids from( Select nums as aa, ids from( Select PatIndex('%[^0-9]%', left(VarNums,3) ) as nums , * from db where len(VarNums)>3 ) as AB where aa = 3 ) as ABB ) AS B on A..

ETC 2023. 7. 31. 13:39
MS SQL Where Not 쿼리

WHERE ( S_Day >= @s_Day and Not (S_Day= @s_Day and CONVERT(DATE, Stime) = @s_Day) ) : 금일자 이후 모든 날짜 중 S_Day가 오늘이고 Stime이 오늘인 날 제외

ETC 2023. 1. 30. 18:04
Raspberry pi4 multiple usb to serial port setting

// 1. 연결된 ttyUSB Path 확인 usb 1-1.2 // usb 1-1.4 pi@Teon:~ $ dmesg | grep ttyUSB // 2. usb-serial rules 수정 pi@Teon:~ $ sudo nano /etc/udev/rules.d/10-usb-serial.rules SUBSYSTEM=="tty", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", ATTRS{devpath}=="1.2", SYMLINK+="ttyUSBa" SUBSYSTEM=="tty", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", ATTRS{devpath}=="1.4", SYMLINK+="ttyUSBb" // 3. 저장내용..

ETC 2022. 8. 8. 13:23
라즈베리파이 ttyUSB정보 확인

udevadm info /dev/ttyUSB0

ETC 2022. 8. 5. 19:00
라즈베리파이 AutoStart Edit

sudo nano /etc/sdg/lxsession/LXDE-pi/autostart

ETC 2022. 8. 5. 18:51
.Net 5 Api return value list all same value Error

.Net 5 Api return value list all same value Error public class Rca { public string A{ get; set; } public string B{ get; set; } } public List rList() { List RTN = new List(); Rca _RTN = new Rca(); for(int i = 0; i < 10; i++) { _RTN.A = "a" +i.ToString(); _RTN.B = "b" +i.ToString(); RTN.Add(_RTN); } return RTN; } _________________________________ PostMan result: { "A": "a9", "B": "b9", }, { "A": "..

ETC 2022. 6. 29. 13:37
이전 1 2 3 4 5 다음
이전 다음
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • WPF Textbox
  • SkiaSharp
  • Xamarin.Ios Firebase Phone SMS OTP Send
  • Xamarin reCAPTCHA
  • Embeded 한글Font적용
  • ssl_client_socket_impl.cc
  • c# Encrypt / Decrypt
  • Xamarin.Forms
  • GetCellContent CheckBox Value
  • 연산자 뒤에 피연산자가 없습니다.
  • Xamarin Firebase Phone User Add
  • WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
  • C# LINQ Left join
  • Xamarin SMS OTP Send
  • ClickOnce 인증서 인증기간 변경
  • Label Text LineBreak in Xaml
  • Linux SSH Multi Computer Join
  • WPF Datagrid Cell Value Change
  • Windows IIS FTP 디렉토리 목록 오류
  • Xamarin.Ios Firebase Phone User Add
  • Xamarin.Ios Firebase Phone Auth
  • Microcharts
  • WPF Scrollviewer in ScrollViwer
  • Entry '' has empty native path
  • FileStream Add Byte
  • Xamarin Firebase Phone Auth
  • 암호 마스터키
  • 서버 수준의 URN 필터
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바