Technical Article

scrript to convert datatypes of multiple columns

generates an runs a select statement to convert all th olumns of a certain datatype in apirticular table to another datatype:eg all columns of type int to varchar etc the sp takes three parameters namely the table name, source data type and detination data type generates a select query ad executes it eg: exec ConvertTableTypes […]

2007-07-10 (first published: )

161 reads

Blogs

Daily Coping 24 May 2022

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Notes on SQLSaturday Jacksonville 2022

By

I drove up to Jacksonville Friday afternoon to allow for bad traffic and immediately...

TSQL Tuesday #150: Your first technical job. Rollup.

By

This months subject for T-SQL Tuesday was Your first technical job. I have to...

Read the latest Blogs

Forums

Logging sql stms into a table when there is a High cpu alert

By bobrooney.81

Hi, Whenever I get an high cpu alert , be it non-working hours or...

Transactions names meaning In Transaction Logs

By IT researcher

I am using .LDF file to get the information about when was DB last...

Iterate and reorganize subset of database tables

By ktflash

Ahoi, we are using the ola hallengren scripts to run the weekly index optimizer....

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers