Viewing 15 posts - 11,461 through 11,475 (of 13,462 total)
looks like someone has specifically prevented new databases from being created...most like a DDL triger at the server level. that is not an MS error message...someone returned that message as...
March 10, 2009 at 6:55 am
yes i've done this lots of times.
for me, the core was using sp_fkeys [yourtable] to get all the direct dependancies on the table...
from there, it was building all the queries...
March 10, 2009 at 6:44 am
why not use a function, instead of a stored procedure, and have the function return a @Table?
then you'd have what you are after...
March 10, 2009 at 6:27 am
yes, but you have to be able to identify what has not been changed.
it most likely will NOT be faster, but should avoid locking the entire table for the updates
something...
March 10, 2009 at 5:51 am
not built in , no; typically formatting is left for the presentation layer, like vb;
you can do something pretty close:
declare @val decimal (12,6)
set @val = 0.43365
select convert(varchar,convert(decimal(5,2),@val* 100.0)) + '%'
--43.37%
March 10, 2009 at 5:36 am
once I've connected with Object Explorer, I can expand the server name, open the Replication Folder, and see everything I've got in the two folders there, "local Publications" and "Local...
March 9, 2009 at 1:14 pm
sELECT CASE WHEN first_Name
Like 'MR.%'THEN
Right(First_Name,Len(First_Name)-4)
ELSE
Right(First_Name,Len(First_Name)-3)
END nn
FROM tblCust
WHERE Len(First_Name) >= 4
March 9, 2009 at 10:03 am
the only other solution i have used was creating an .NET RTF to HTML converter that you could use in reporting services, so it does a best guess at converting...never...
March 8, 2009 at 8:30 pm
i just had a very similar question in a different thread...it was to scan all columns in a table where for all three search terms occurs
basically, i just did a...
March 6, 2009 at 8:10 pm
Narayana Vyas Kondreddi wrote a really good proc over at http://vyaskn.tripod.com called sp_generate_inserts, which dumps the table's contents out to INSERT statements.
i use it all the time and have used...
March 5, 2009 at 6:53 pm
i don't think replication is a single setting...you can have different replications going for each database...and i think you can have different replication types going on even a single database...you...
March 5, 2009 at 6:46 pm
just a syntax error...you left out the FROM! if you are going to update one table from another, you have to include that table in the from statement:
UPDATE HouseKeeping
...
March 5, 2009 at 6:21 pm
sorry if my post bothered you dev, we get a lot of new posters who ask for help on their homework, without putting any effort in themselves.
For your issue, I've...
March 5, 2009 at 6:23 am
interesting...
there must be a business reason why you are going thru each file, instead of just using the last backup...You basically need the history of changes(if any) between backups, right?
this...
March 5, 2009 at 5:18 am
your example shows 4 columns, none of which intuitively seem to be the PK...
Is the PK of each table ALWAYS an identity field, or is always the first column of...
March 4, 2009 at 6:07 pm
Viewing 15 posts - 11,461 through 11,475 (of 13,462 total)