database development

Technical Article

RE: How to find out the biggest table by size in a database?

  • Reply

Here is a little different twist on your request.   -- Create the temp table for further querying CREATE TABLE #temp(  ServerName varchar(30),  DBName  varchar(40),  rec_id  int IDENTITY (1, 1),  table_name varchar(128),  nbr_of_rows int,  data_space decimal(15,2),  index_space decimal(15,2),  total_size decimal(15,2),  percent_of_db decimal(15,12),  db_size  decimal(15,2))-- Get all tables, names, and sizes EXEC sp_msforeachtable @command1="insert into #temp(nbr_of_rows, data_space, index_space) exec sp_mstablespace '?'",    @command2="update #temp set table_name = '?' […]

You rated this post out of 5. Change rating

2005-04-25

Technical Article

inserting more than 8000 characters in a field

  • Topic

I want to insert more than 10,000 characters in a field in Sql server. I am able to insert 8000 characters in the field in SQlserver. Now I want to create a field to insert 15000 characters in a single field in the Sqlserve. what should be the data type of the field to achieve […]

You rated this post out of 5. Change rating

2005-02-14

44 reads

Technical Article

Data model on a scheduler app

  • Topic

Hi, does anybody has a, or has a tip on where to find, a datamodel och a scheduler like Outlook's?That is:store in a table a "timeschema" containing when a scheduled task should appear. Tasks can happen daily, weekly, monthly or yearly. When daily they can occur every n:th day. Or evere workday (mond to friday) […]

You rated this post out of 5. Change rating

2004-12-02

283 reads

Technical Article

RE: Moving DBs to a new server

  • Reply

I agree with SQL Draggon!Just becareful of 1 thing! Hence my question about which Replication Model are you using.When you remove replication from a replicated Database where MERGE Replication was implemented, it does NOT remove the UniqueIdentifier Columns on all tables that were part of any publication!

2004-03-14

Technical Article

FTP B/u

  • Topic

Does anyone know of a way to make a back up of a database and have it FTP to another server?  Can this be done with a DTS package?Thanks,-Carlos

You rated this post out of 5. Change rating

2004-01-05

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers