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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
|