Forum Replies Created

Viewing 15 posts - 11,476 through 11,490 (of 13,469 total)

  • RE: needing to deveop a sql search for all words, no matter the order

    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...

  • RE: Export Data to INSERT Statements

    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...

  • RE: How do I find what type of replication a server is using?

    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...

  • RE: The multi-part identifier could not be bound.

    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

    ...

  • RE: Search "substirng" in each columns of table

    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...

  • RE: automation ... ! :)

    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...

  • RE: Find out duplicate rows from multiple table

    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...

  • RE: Rich text

    pretty much every db reporting tool out there...from freebies written in Delphi , to crystal reports, etc, all have an RTF object that you just point to the field in...

  • RE: Pass Multiple Values to a variable on a SP

    typically, you might pass a comma delimited string to the procedure, and the proc then uses one of the many SPLIT functions in the Scripts section here on SSC to...

  • RE: String comparisons Am I going Mad?

    for varchar strings, the = comparison operator strips out ending whitespace.

    that is different fromt eh LIKE operator...if you do LIKE 'phrase %', that would not find the item because of...

  • RE: restoring a backup from sql server 2008 to 2005

    compatibility level just decides which syntax rules will be applied against any queries hitting the database...it does not change the behind-the-scenes way the database is stored/saved.

    that's why you can switch...

  • RE: CASE Statement

    all minor syntax stuff; i found three things:

    the higher case statement for a.staff said case a.staff andf then had WHEN a.staff...; should be one syntax or the other...

    second...

  • RE: Revoke Access to Groups

    it'd be something like this:

    --kick everyone off no matter what!

    ALTER DATABASE [YOURDATABASENAME] SET SINGLE_USER WITH ROLLBACK IMMEDIATE

    GO

    --make sure it's really just for me

    ALTER DATABASE [YOURDATABASENAME] SET SINGLE_USER

    GO

    --do...

  • RE: Search "substirng" in each columns of table

    your question reads like it came straight from a problem in a textbook...telling us what the required results are...are we doing your homework?

    what have you tried so far?

    I can tell...

  • RE: Revoke Access to Groups

    i'd just set the database to single user mode, do my work, and then change it back to multi user;

    no fiddling with groups, and you'll know you are the only...

Viewing 15 posts - 11,476 through 11,490 (of 13,469 total)