Withdata Software

Producing high-quality database tools

Main menu

Skip to primary content
Skip to secondary content
  • Withdata Software
  • Blog
  • Categories
  • Tags

Tag Archives: Sql Server

Post navigation

Newer posts →

Withdata Software Released DB2ToMsSql Version 1.2

Posted on June 5, 2013 by Shiji Pan

Withdata software has announced db2tomssql 1.2, a data conversion tool that convert DB2 data to SQL Server database. Version 1.2 add “Execute Sql from Command line”, add “Check Update” to menu, improve importing performance. DB2ToMsSql – Convert DB2 data to SQL ... Read more

Posted in DBToDB | Tagged B2, DB To DB, DB2ToMsSql, Sql Server

Withdata Software Released AccessToMsSql Version 2.1

Posted on June 5, 2013 by Shiji Pan

Withdata software has announced accesstomssql 2.1, a data conversion tool that import Access data to ms SQL server. AccessToMsSql 2.1 add “Execute Sql from Command line”, add “Check Update” to menu, improve importing performance. AccessToMsSql, Better way to import Access ... Read more

Posted in AccessToMsSql | Tagged Access, AccessToMsSql, DB To DB, Sql Server

Replace (Update/Insert) a row into SQL Server table

Posted on June 4, 2013 by Shiji Pan

In MySQL,  we use “ON DUPLICATE KEY UPDATE” to either updates or inserts a row in a table. How to do it in SQL Server? Just like this: if not exists (select 1 from employees where employee_id = 1) insert into employees (employee_id,last_name,first_name) values ( 1,'smith', ... Read more

Posted in Sql Server | Tagged merge into, replace into, Sql Server, upsert

Remove duplicate rows in SQL Server

Posted on May 31, 2013 by Shiji Pan

Assuming no nulls, you GROUP BY the unique columns (eg. col_1, col_2, col_3), and SELECT the MIN (or MAX) Row ID (eg. row_id) as the row to keep. Then, delete everything that didn’t have a row id: DELETE my_table FROM my_table LEFT OUTER JOIN ( SELECT MIN(row_id) as row_id, col_1, ... Read more

Posted in Sql Server | Tagged Remove duplicate rows, Sql Server

How to get column names from Sql Server table

Posted on May 30, 2013 by Shiji Pan

SELECT [name] AS [Column Name] FROM syscolumns WHERE id = (SELECT id FROM sysobjects WHERE type = ‘U’ AND [Name] = ‘My_Table_Name’) Type = ‘V’ for views Type = ‘U’ for tables For SQL Server 2008, we can use information_schema.columns for getting ... Read more

Posted in Sql Server | Tagged get column names, Sql Server

Edit Sql Server LOB data

Posted on September 20, 2011 by Shiji Pan

SqlLobEditor is a database tool that can edit SQL Server LOB data directly. Use SqlLobEditor, you can edit SQL Server LOB visually. And you can save LOB data to file and edit also. Easy to use Edit LOB (LOB, CLOB) data directly. Edit multiple formats LOB data(text, RTF, image, hex, html, ... Read more

Posted in SqlLobEditor | Tagged LOB, MsSql, Sql Server

Post navigation

Newer posts →

Recent Posts

  • Unload to CSV for Databases
  • Use Cases for Dumping to CSV
Withdata Software. ©2004 - 2025 All rights reserved.