Viewing 15 posts - 6,601 through 6,615 (of 7,191 total)
Stewart
That's what I suspected. Please will you post the DDL... you can change the column names if you wish. Some sample data would be helpful, too.
John
January 22, 2007 at 3:19 am
Stewart
That query should produce an error since you're grouping by something that isn't in the select list. Are you doing this in Query Analyzer? Can you post the DDL for...
January 22, 2007 at 2:41 am
Beware, because if you have a stored procedure or other object called TABLENAME, you will still get the "Table Exists" message. One way of being sure is like this:
January 22, 2007 at 2:23 am
You should read in Books Online about BULK INSERT, bcp and DTS, then post again if there's anything you don't understand. We can't give you an example unless you describe...
January 22, 2007 at 1:40 am
Have a read about dynamic properties in DTS. It's not something I've used a lot myself, but I think it will do what you need it to.
John
January 22, 2007 at 1:35 am
Arthur
Just set the rest of the parameters to default to NULL - and include logic within your procedure to deal with this. Look up CREATE PROCEDURE in Books Online for...
January 19, 2007 at 9:21 am
BULK INSERT, bcp and DTS can all do this for you. Sounds like DTS might be your best bet if you have more than one file since you can use...
January 19, 2007 at 9:18 am
Mark
I believe the sysobjects table has a crdate column, or something similar. But beware - check what happens when you alter a table (for example by adding a column): does...
January 19, 2007 at 9:14 am
From memory, the CREATE PROCEDURE permisson will only allow you to create MyUserName.MyProc - you won't be able to create dbo.MyProc.
John
January 19, 2007 at 9:10 am
Create your DTS package, then right-click on it and choose Schedule Package. This will create a SQL Server Agent job that invokes the package using the dtsrun command line utility. ...
January 19, 2007 at 9:08 am
From the Search Condition topic in Books Online (for SQL Server 2000, but I don't think it's changed in 2005):
The order of precedence for the logical operators is NOT (highest),...
January 19, 2007 at 8:02 am
Then I think you need to use a temp table, something like this (tweak this to suit your own requirements):
CREATE TABLE #t1 (clName char(10), clID int)
INSERT INTO #t1...
January 19, 2007 at 7:04 am
This is very similar to one I answered yesterday:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=337775#bm337792
January 19, 2007 at 6:03 am
Andrew
If you can "see" one server from the other, use the Transfer Jobs task in DTS. If you can't, use Enterprise Manager to generate scripts for each of the jobs.
John
January 19, 2007 at 3:20 am
Actually, I must have been asleep when I posted that query. It won't work. What we need to know is where there are duplicates in your column, which row...
January 18, 2007 at 11:35 am
Viewing 15 posts - 6,601 through 6,615 (of 7,191 total)