Viewing 15 posts - 346 through 360 (of 2,469 total)
How about using the tblName variable the way it is in my example and then running it - what does that get you ?!?!
SET @tblName = '["FAC Treaties$"]'
**ASCII stupid question, get a stupid ANSI !!!**
April 12, 2006 at 10:13 am
you could use your id/key column:
SET IDENTITY_INSERT DATABASE1.dbo.TABLE1 ON INSERT INTO DATABASE1.DBO.TABLE1(Col_PK,COL1,COL2,COL3) SELECT Col_PK, COL1,COL2,COL3 FROM DATABASE2.DBO.TABLE2 WHERE Col_PK NOT IN (SELECT Col_PK FROM DATABASE1.dbo.TABLE1) SET IDENTITY_INSERT DATABASE1.dbo.TABLE1 OFF
**ASCII stupid question, get a stupid ANSI !!!**
April 12, 2006 at 10:03 am
Haven't used bulk insert but you could update the columns in the sql table using the 'REPLACE' function:
DECLARE @string VarChar(100) SET @string = '‘B’ |12454 | ’CAINE’ | ’TOOL’ |...
**ASCII stupid question, get a stupid ANSI !!!**
April 12, 2006 at 9:51 am
Try using dynamic sql:
DECLARE @sql VarChar(100)
DECLARE @tblName VarChar(15)
SET @tblName = '["FAC Treaties$"]'
SET @sql = 'DBCC SHOWCONTIG (' + @tblName + ') WITH ALL_INDEXES, TABLERESULTS, NO_INFOMSGS'
EXEC(@sql)
why does the db have...
**ASCII stupid question, get a stupid ANSI !!!**
April 12, 2006 at 9:24 am
I believe .818 is sp3a + 818 hotfix..
& this from the microsoft site:
"Note: Your product version may be different than these values if you applied a hotfix after installing the...
**ASCII stupid question, get a stupid ANSI !!!**
April 12, 2006 at 8:50 am
Here's one link - scroll down 2/3rds or search for itzik ben-gan...& you know what they say about great minds...![]()
**ASCII stupid question, get a stupid ANSI !!!**
April 12, 2006 at 7:29 am
when was the last time you accessed this site - the web archives stop at "march 2005"!![]()
**ASCII stupid question, get a stupid ANSI !!!**
April 11, 2006 at 8:12 pm
Amit - I have (most fortunately) not faced anything similar but did come across a couple of good posts that may just yet provide the solution you need..see if they...
**ASCII stupid question, get a stupid ANSI !!!**
April 11, 2006 at 7:46 pm
jbrewer - since you want the backup overwritten rerun it using the "with format" option instead...
re: retaindays..here's where you'd find the default..
"By default, the expiration date is determined by the...
**ASCII stupid question, get a stupid ANSI !!!**
April 11, 2006 at 3:15 pm
There's an excellent section on BOL for simple transaction log recovery models...you should read it and see if it's suitable for the kind of database that you're working with..
**ASCII stupid question, get a stupid ANSI !!!**
April 11, 2006 at 12:24 pm
sounds like despite your "init" clause the backup is not getting overwritten...
check these 2 conditions to see if that's what's happening:
BOL:
All backup sets on the media have not yet...
**ASCII stupid question, get a stupid ANSI !!!**
April 11, 2006 at 6:20 am
How about querying the db to see by how many members the site grew each year (on the anniversary) - it's at a impressively whopping # (318,606 ?!?!) right now!...
**ASCII stupid question, get a stupid ANSI !!!**
April 10, 2006 at 3:26 pm
**ASCII stupid question, get a stupid ANSI !!!**
April 10, 2006 at 1:50 pm
sorry - forgot to add that the reason you're not seeing anything in the 'productversion' and 'edition' columns is probably because of the length per column setting...if you go to...
**ASCII stupid question, get a stupid ANSI !!!**
April 10, 2006 at 11:23 am
Don't believe there's any compelling need - I transitioned over pretty smoothly (from 3 to 4 ie) - but've read several posts here where things that worked with sp3 "broke"...
**ASCII stupid question, get a stupid ANSI !!!**
April 10, 2006 at 11:19 am
Viewing 15 posts - 346 through 360 (of 2,469 total)