Viewing 15 posts - 61 through 75 (of 82 total)
This will give you a list of identity columns.
SELECT *
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
COLUMNPROPERTY -- get columns where is_identity = 1
(
OBJECT_ID(QUOTENAME(table_schema) + '.' + QUOTENAME(table_name)) -- table ID
...
January 7, 2009 at 12:14 am
I have both Professional SSIS (mentioned above) and Microsoft SQL Server 2005 Integration Services by Kirk Haselden.
Both are good. I'd say Professional SSIS is a better beginner book as it...
January 6, 2009 at 5:51 pm
You might be able to take the opposite approach. Instead of resorting a full backup and then deleting all but 3 days of data, create an empty database and load...
January 5, 2009 at 10:30 pm
While you are debugging you might want to set the flat file error outputs to redirect rows instead of fail on error. You can send them to a Row Count...
January 5, 2009 at 10:01 pm
In the flat file source, is the output column width large enough for the row that is causing the failure?
Open the connection manager wizard for your flat file connection, go...
January 5, 2009 at 9:54 pm
The attached script gives a little more column level detail. If you are comparing a prod database to a dev or QA database you could run the query in each...
January 5, 2009 at 9:21 pm
Here is another quick and dirty way to compare if both databases are on the same server. You probably want to take a look at information_schema.columns and add a few...
January 5, 2009 at 9:07 pm
A brief prose document along with inline comments provide a basic overview and aren’t too difficult to create and maintain.
Anything more detailed is not worthwhile unless an established process exists...
January 5, 2009 at 3:04 am
you might try this:
http://letmegooglethatforyou.com/?q=free+open+source+sql+schema+diff+tool
January 5, 2009 at 2:13 am
If the format is always 3 char followed by 5 numeric can you just get the right 5 characters?
DECLARE @tbSample TABLE(Code VARCHAR(10))
INSERT INTO @tbSample SELECT 'SDH00151'
INSERT INTO @tbSample SELECT 'SDH00152'
INSERT...
December 31, 2008 at 12:01 am
You can use a merge join transformation in a data flow. Both inputs to the merge join need to be sorted.
Create connection managers for DB1 and DB2 and create data...
December 30, 2008 at 11:35 pm
A few things you might try:
If you will be doing a lot of transformations in the data flow pipeline in addition to adding the Imported column you could use a...
December 29, 2008 at 11:59 pm
We use an approach similar to the following:
http://www.sqlservercentral.com/articles/System+Development+Life+Cycle/62933/
From a technical standpoint it works well as a script distribution mechanism but I doubt we have realized much in the way...
October 19, 2008 at 5:18 pm
One thing I do to test package configurations is to change the connection string property for every connection manager in the package. I usually replace the server name with “NoServer”...
November 4, 2007 at 5:03 pm
Your approach should give you a passive deployment process if you use indirect configurations. See the attached screenshot.
Your environmental variable has the same name on your workstation and across environments...
November 4, 2007 at 5:00 pm
Viewing 15 posts - 61 through 75 (of 82 total)