Viewing 15 posts - 7,096 through 7,110 (of 7,164 total)
sp_help wlll tell you all referenced as well as referencing keys. You want to look at the last two result sets:
USE AdventureWorks
GO
EXEC sys.sp_help @objname = 'HumanResources.EmployeeDepartmentHistory'
If you are interested you...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 25, 2011 at 8:04 am
harmand (2/25/2011)
Another problem. I have catalog table with a description field. If the description has a comma in it the field in the flat file is in double...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 25, 2011 at 7:56 am
Lowell's example uses xp_cmdshell to find a list of files to BULK INSERT from specific directories. If the files you'll be BULK INSERTing will never change, or can be sent...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 3:11 pm
As with most things it will depend on a lot of factors...more than we can discuss in this forum. However as an initial direction for supporting reporting functions denormalizing the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 12:25 pm
BOL: http://msdn.microsoft.com/en-us/library/ms190998.aspx
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 12:14 pm
You'll need to supply a format file. This post may help:
http://www.sqlservercentral.com/Forums/FindPost99982.aspx
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 12:06 pm
mazzz (2/24/2011)
I have a server with a significant amount of CXPACKET waits. It has only one processor (dual core).Does the possible max DOP depend on physical or logical cores?
Possible...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 11:58 am
I would designate the values you have for Products (Shirt), Colors (Green, Blue, etc.) and Sizes (S, M, L, etc.) as "natural keys". Surrogate keys (IDENTITY) are my preferred way...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 11:42 am
namrata.dhanawade-1143388 (2/23/2011)
There are 100 tables each with different number and type of columns and obviously different rows.
And then there is a condition to check if some 5 columns...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 11:27 am
Your OP says you're trying to alter columns from INT to BIGINT but your script is altering columns to VARBINARY(MAX). What exactly are you trying to do?
In any case you'll...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 11:07 am
Here is why using the sp_ prefix for your proc names is a bad idea:
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 10:21 am
Please post the DDL for your table and the DML for your data.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 10:15 am
Please post what you have so far.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 10:13 am
Sounds like a proprietary SEQUENCE to me. Can you refactor?
Your proprietary sequence (you called it ID) had to start somewhere so you must have a seed. Since all proprietary "ID"s...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 24, 2011 at 10:12 am
In short, yes.
Try this:
SELECT CONVERT(DATETIME,'15 Feb 2011 12 am',121) as my_date ;
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 23, 2011 at 4:02 pm
Viewing 15 posts - 7,096 through 7,110 (of 7,164 total)