Skip to primary content
Skip to secondary content

Spearcross

All About Programming, Piece of My Mind, And Anything

Spearcross

Main menu

  • Home
  • About

Daily Archives: January 2, 2013

Convert Int to String SQL Query

Posted on January 2, 2013 by silentcross
Reply

To convert int or any number to string in sql query we can use :

1
CAST([datatoconvert] as VARCHAR(50)) as exp1

Or

1
CONVERT(VARCHAR(50), [datatoconvert]) as exp1
Posted in Programming | Tagged SQL Query | Leave a reply

Recent Posts

  • Run Deepseek R1 With Ollama + (Open Webui Docker) Easy way
  • Mikrotik Script For auto reconnect PPPOE to get Public IP
  • Change to another Hosting & 2020 Updates
  • DDNS Cloudflare API
  • Change Hosting in 2018

Categories

  • ASP.NET (2)
  • C (1)
  • Event (3)
  • FreeWare (2)
  • IIS (5)
  • Intro (1)
  • Linux (3)
  • News (3)
  • PHP (4)
  • Piece of My Mind (18)
  • Programming (17)
  • Uncategorized (8)
  • Windows (12)

Tags

  • .NET
  • AI
  • Apache2
  • ASP.NET
  • ASP.NET CORE
  • ASUS
  • blog
  • Cloudflare
  • DDNS
  • Deepseek R1
  • Event
  • Hosting
  • IIS
  • IIS 6
  • IndoComtech
  • Linux
  • Mikrotik
  • MS SQL
  • MySQL
  • Netlify
  • ollama
  • open webui
  • OpenWRT
  • PHP
  • PHP5
  • Reseed
  • S46CM
  • Script
  • SQL
  • SQL Query
  • SSL
  • T-SQL
  • TPLINK
  • uBuntu
  • VS2013
  • WDR3600
  • Windows
  • Windows 7
  • Windows 8
  • Windows 8.1
  • Windows Server
  • Windows Server 2003
  • Windows Small Business Server 2008
  • Windows Small Business Server 2011
  • Wordpress

Calendar

January 2013
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Dec   Feb »

Blogroll

  • Cybernations
  • Kaskus
  • Namecheap
  • Support Forum
  • Themes
  • WordPress Blog
  • WordPress Planet

Tags

  • .NET
  • AI
  • Apache2
  • ASP.NET
  • ASP.NET CORE
  • ASUS
  • blog
  • Cloudflare
  • DDNS
  • Deepseek R1
  • Event
  • Hosting
  • IIS
  • IIS 6
  • IndoComtech
  • Linux
  • Mikrotik
  • MS SQL
  • MySQL
  • Netlify
  • ollama
  • open webui
  • OpenWRT
  • PHP
  • PHP5
  • Reseed
  • S46CM
  • Script
  • SQL
  • SQL Query
  • SSL
  • T-SQL
  • TPLINK
  • uBuntu
  • VS2013
  • WDR3600
  • Windows
  • Windows 7
  • Windows 8
  • Windows 8.1
  • Windows Server
  • Windows Server 2003
  • Windows Small Business Server 2008
  • Windows Small Business Server 2011
  • Wordpress
Proudly powered by WordPress