COLLECTION

Macro Perspective, Micro Improvement

  • Home
  • Mobile App
    • Overall
      • Architecture
      • UI/UX
      • Dev Environment
      • Hardware features
      • Security
      • Miscellaneous requirements
    • React Native
      • Micro Frontend in RN
    • Android
    • iOS
    • Cordova
  • Web App
  • Database
  • Server
  • Books & Magazine
  • Labs
    • Algorithm
    • APIs
    • Flir SDK
    • AI
    • Flutter

Database

No Image

SQL: How to use “order by” with “select distinct”?

October 26, 2017 hung-nb 0

A query with SELECT DISTINCT can be rewritten using GROUP BY. So this [sql] SELECT DISTINCT city FROM HR.Employees WHERE country = N’USA’ AND region […]

No Image

SQL Server: How to search all columns of all tables for a given search string

October 6, 2017 hung-nb 0
No Image

SQL Server: Error converting data type varchar to numeric.

October 5, 2017 hung-nb 0

Convert varchar to decimal error 1 Add another column with required dataType. [sql] ALTER TABLE [table name] ADD [column name] decimal(10,2) NULL [/sql] Import all […]

No Image

SQL Server: How to SELECT vertically/ horizontally?

October 2, 2017 hung-nb 0

name maths science english sex aaa 11 22 33 female bbb 44 55 66 female ccc 77 88 99 female Use UNPIVOT [sql] select u.Test2, […]

No Image

SQL Server: Job – How to find jobs calling a specific stored proc?

September 24, 2017 hung-nb 0

[sql]SELECT j.name FROM msdb.dbo.sysjobs AS j WHERE EXISTS ( SELECT 1 FROM msdb.dbo.sysjobsteps AS s WHERE s.job_id = j.job_id AND s.command LIKE ‘%store_proc_name%’ ); [/sql]

No Image

SQL Server: Debug – Why does query statement fail when there is only one record being added to reference table?

September 21, 2017 hung-nb 0

Because the query statement is too long, so the next added record may corrupt the query Because the reference table number is limited at 256 […]

No Image

SQL Server: Debug – Why can’t I find a stored procedure by SQL Profiler?

September 21, 2017 hung-nb 0

Because that stored procedure is executed inside a stored procedure. Stored procedure executed inside a stored procedure is not hit by SQL profiler (?) Because that […]

No Image

SQL Server: Debug – How to check temporary table created by INSERT INTO?

September 21, 2017 hung-nb 0

Get the table structure by [sql]exec tempdb..sp_help ‘#tempTableName'[/sql]

No Image

SQL Server: How to trace down database activities?

September 20, 2017 hung-nb 0

Create trigger to log activities Record actions happening on CREATE/ALTER/DELETE stored proc Create table to save actions happening [sql] CREATE TABLE dbo.ProcedureChanges ( EventDate DATETIME […]

No Image

SQL Server: How to use SQL Server Profile

September 20, 2017 hung-nb 0

How to trace which stored procedures are called Open “Trace Properties” window Select “Event Selection” tab Check “Show all events”, “Show all columns” tab Check […]

Posts pagination

« 1 2 3 »

Categories

  • AI
  • Books & Magazine
  • Labs
  • Languages
    • English
    • Japanese
  • NodeJs
  • Overall
    • Architecture
    • Dev Environment
    • Miscellaneous requirements
    • Security
    • UI/UX
  • Software Development
    • Algorithm
    • Android
    • APIs
    • AWS
    • Cordova
    • Database
    • Flir SDK
    • Flutter
    • Google Cloud Services
    • iOS
    • Javascript
    • jQuery
    • Mobile App
      • Scenarios
    • MSQL
    • React JS
    • React Native
      • Micro Frontend in RN
    • Server
    • Testing
    • Tools
    • Web App
    • Xamarin
  • Uncategorized
December 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« Oct    

Copyright © 2025 | WordPress Theme by MH Themes