Groups | Blog | Home


Archived Months
March 2003
April 2003
May 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > sql server (microsoft) > february 2006 > threads for february 8 - 14, 2006

Filter by week: 1 2 3 4

combining columns
Posted by alex at 2/14/2006 9:50:03 AM
Combining columns Experts: Could you please tell me how to combine two columns together. I need to take two columns from an existing table (A) and bring them together as one column in another table (B). Please see the example. Thanks. Table A Code_1 Code_2 XY123 XY456 Table B ...more >>


sp_attach_db vs. Create Database For Attach
Posted by zacks NO[at]SPAM construction-imaging.com at 2/13/2006 11:29:22 AM
In the Create Database help topic for SQL2K, it says that when attaching a database where you already have the files, you should use sp_attach_db, and only use CREATE DATABASE FOR ATTACH if your database has more than 16 files. But a quick look at the code for sp_attach_db shows that it also use...more >>

Need Help in Query to Upload an excel sheet data into SQL Server table
Posted by FA at 2/13/2006 8:57:49 AM
Hi Freinds, I am very new to SQL Server and i have to upload this spread sheet and the reocords in this spread sheet will go to fields of already existing record in the sql server table. I am confirmed that i have to write some kind of query to do that but i am unable to write this query so far....more >>

BCP putting trailing spaces in varchar fields
Posted by Dunc at 2/13/2006 4:36:27 AM
Hi, I'm trying to take a dataset from a production database, so I can load it onto a test box. I'm using BCP with format files, which works pretty well except it's putting trailing spaces on all the varchar fields, which is giving me problems locally. Does anyone know how to stop it doing ...more >>

INclude a Custom Function in Stored Procedure
Posted by jimh NO[at]SPAM netwasp.com at 2/10/2006 5:52:44 AM
Hi I'm trying to write Stored Procedure that will group a bunch of product records that can belong to multiple categories so that if the category has a value of '1' for in one cat and '0' in another I will always see the results showing the '1' value. I am using a table function to try to do...more >>

How to query primary keys ( don't understand sp_primarykeys )
Posted by Daniel.Wetzler NO[at]SPAM sig.biz at 2/10/2006 3:36:48 AM
Hi there, I'm loooking for a way to query which column in a table is the one with primary key on a local server. I found a stored procedure called "sp_primarykeys" and the example below but I don't understand the syntax of this procedure. EXEC sp_primarykeys @table_server = N'LONDON1', ...more >>

How to Install mssql2000 after Install mssql2005
Posted by briancfk NO[at]SPAM gmail.com at 2/8/2006 7:49:09 PM
Previously I am using mssql2000 in my computer Then after that I install mssql2005 When the time that I install mssql2005, I accidently use the default instance So, when the installation finish, my mssql2000 not exist any more(the mssql2000's instance had been use by the mssql2005) Ok, i...more >>

Create #temporary table on PRIMARY?
Posted by mkerrigan NO[at]SPAM ktoys.com at 2/8/2006 8:35:51 AM
Does it make any sense when creating a temporary table, to use the ON PRIMARY clause? Aren't temporary tables stored in the tempdb database? Does using the ON PRIMARY clause cause the server to think you are trying to create the table in the current database rather than tempdb? ...more >>




DevelopmentNow Blog