Viewing 15 posts - 3,736 through 3,750 (of 13,469 total)
i'm still confused and looking in the wrong place, clearly.
i did sp_helptext 'sys.fulltext_catalogs', and it's a system view on my 2008 instance, i'm not seeing the same code you posted;
can...
April 5, 2013 at 9:32 am
i would disagree.
if you look at the definition for 'sys.fulltext_catalogs' via sp_help, the datatype is clearly int for the column fulltext_catalog_id you are selecting
/*
Column_name ...
April 5, 2013 at 9:26 am
you can explicitly call CHECKPOINT yourself, would that help?
--UPDATE MyTABLE ....
--INSERT INTO SomeTable
CHECKPOINT
--UPDATE MyTABLE2 ....
--INSERT INTO SomeTable2
CHECKPOINT
April 5, 2013 at 9:20 am
balasach82 (4/5/2013)
The login ZZZZ exists and it is linked to the user in the db. Still we get the error
>>> Login failed for user...
April 5, 2013 at 7:18 am
here's a very similar version when compared to Jasons;
if a user matches it's login SID, it fine and nothing needs to be changed.
If the SID doesn't match , it builds...
April 5, 2013 at 6:53 am
assuming the data types of col1 and col2 are varchars:
update SomeTable
SET Col3 = Col1 + Col2
if they are integers, you will have to explicitly cast/convert the two columns.
April 4, 2013 at 2:44 pm
the actual execution plan, if oyu can post it as a .SQLPlan file, would give us the most detailed information;
aside from that, here's what i see:
i see six objects in...
April 4, 2013 at 12:50 pm
would doing something like selecting a newid() help?
for example, have them do something like this:
SELECT
NEWID() AS RefID,
OtherColumnsButNotTheRealID
Into TableForExport
From tblPatients
--OR
SELECT
identity(int,1,) AS RefID,
OtherColumnsButNotTheRealID
Into TableForExport
From tblPatients
then...
April 4, 2013 at 12:10 pm
sql has the ability to update a table based on another table, you just need to get used to the syntax.
the advantage is it would be set based,and allow you...
April 4, 2013 at 12:03 pm
glad i could help a little Sapan;
note that sp_msForEachDb is really is a cursor behind the scenes;
while cursors are generally frowned upon, when fiddling with metadata, this is one...
April 4, 2013 at 11:56 am
rajarshi_ghosh_05 (4/4/2013)
No. We dont bother about the temp table data not if anything happens like network failure or server restart or user system restart! We dont have to preserve that...
April 4, 2013 at 11:51 am
you restore the last good backup as a new database name.
then you can use cross database queries move differences from one table to another;
depending on the foreign keys, you might...
April 4, 2013 at 11:24 am
RexHelios (4/4/2013)
Lowell (4/4/2013)
....see how i modified it to sue sp_msForEachDb,....
Didn't realize we could sue other members' stored procedures 😉 Just an attempt to pump some humor, Lowell. No offense meant....
April 4, 2013 at 11:22 am
something like this seems to work for me, see how i modified it to sue sp_msForEachDb, and to INSERT INTO a #temp table, and read the results at
the end.
CREATE...
April 4, 2013 at 11:10 am
you have to select form a CalendarTable, which would contain all possible dates, and left join it to your data that has the rest of the data.
you can generate a...
April 4, 2013 at 10:02 am
Viewing 15 posts - 3,736 through 3,750 (of 13,469 total)