분류 전체보기
-
0을 추가하는 쿼리데이터베이스/MySql 2020. 1. 24. 10:20
.Zip code 가 4 자리인 경우 0 을 추가하는 쿼리 UPDATE sys_zipcode_usa a, ( SELECT * from sys_zipcode_usa where length(ZipCode) = 4 ) b SET a.zipcode = CONCAT('0' , b.zipcode ) WHERE a.zipcode = b.zipcode ; .Zip code 가 3 자리인 경우 000 을 추가하는 쿼리 UPDATE sys_zipcode_usa a, ( SELECT * from sys_zipcode_usa where length(ZipCode) = 3 ) b SET a.zipcode = CONCAT('00' , b.zipcode ) WHERE a.zipcode = b.zipcode ;
-
비어있는 자릿수 0채우기데이터베이스/MySql 2020. 1. 24. 03:35
특정 값의 앞자리나 뒷자리에 문자를 채울 때 사용 * LPAD ( 왼쪽편에 설정한 문자 추가 ) * RPAD ( 오른쪽편에 설정한 문자 추가 ) * 사용 쿼리select LPAD(사용할 컬럼명, 대상 값의 크기를 포함한 갯수 , 삽입할 문자) from 테이블명; * 만약 기존의 값이 두자리(11)라면 왼쪽에 0000 이 모두 채워지지 않고 두 자릿수를 포함하여 총 4자리가 되도록 0011 로 셋팅되어 출력됩니다. 출처: https://dogfoot-note.tistory.com/35 [DOGFOOTNOTE]
-
ctrl + space (code completion)C++ Builder/기타자료 2020. 1. 22. 20:32
Rad 10.3 버전부터 clang 컴파일러를 강화하면서 변화가 생김. 프로젝트를 저장(폴더만들어서 save all) 한상태에서 작업해야 Ctrl + Space 기능 사용가능. Tips for working with the new Code Completion supportThere are some items to be aware of with the new code completion.The new code completion will take effect when using the Win32 or Win64 Clang compilers. Before using Code Completion with the Clang enhanced compilers in 10.3, you will need to firs..
-
devexpress 설치(Rad 10.3.3 버전)C++ Builder/DevExpress 2020. 1. 20. 16:17
Dev설치할때 Rad 설치 폴더에 복사후 설치해야 에러없음. 설치경로 ex) C:\Program Files (x86)\Embarcadero\Studio\20.0\DevExpressVCL19.1.2 DxAutoInstaller.exe 실행 설치파일폴더 선택 ex) C:\Program Files (x86)\Embarcadero\Studio\20.0\DevExpressVCL19.1.2 The location where the DX Designtime Loader is looking for the skin packages has changed again ! For Delphi DX10.3 Rio now all skin packages (=dxSkin*.bpl) must be located in Code: \Li..
-
app/build.gradle errorAndroid 2019. 10. 31. 18:07
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'com.android.support:appcompat-v7:23.+'jre -> jdk7.23 < -- 설정한 api 버전숫자로 변경 Make sure you are using the same compile SDK version and the app compat version. Check your gradle file.For example, if you are compiling with SDK 23compileSdkVersion 23You must use the same app compat version 23.x.xcompile 'com.androi..
-