Forum Replies Created

Viewing 15 posts - 10,276 through 10,290 (of 13,469 total)

  • RE: Stored procedure to search for files

    something like this might get you started.

    for any given week, this returns the starting date of monday(@12am, the start of friday, and the last possible datetime of friday.

    from there, you...

  • RE: record of updates

    as others have pointed out, without a WHERE clause, you are updating every row.

    here's an example, which uses the output clause, so you can see how to use it:

    Create Table...

  • RE: Getting fed up with Microsoft !!!!!

    developer version is only a fifty dollar investment.

  • RE: Alternative to using xp_cmdshell

    xp_cmdshell is the method that opens the door to operating system commands ; once granted you have access to do just about everything.

    what you should do is create a...

  • RE: Relationships between multiple databases

    that's easy.

    there is no way to ENFORCE a relationship between two databases; Foreign keys,constraints,etc can only exist within a database. if you cannot use the built in fuinctionality of...

  • RE: Get a listing of table names on a particular file group

    here you go: i had this saved in my SQL2000 snippets.

    it produces results like this:

    TableName IndexName ...

  • RE: Making part of the string bold

    no; you can change the color of the text in the textbox, but not format PART of it's value, as far as i know.

    you could put bold text before...

  • RE: Fixed length output from numeric column

    you can select the results of any calculation as a column in your query.

    SELECT

    COLUMNA ,

    Modifier,

    (COLUMNA * Modifier) As Result

    from MyTable

  • RE: SUM(Case) issue

    this is just a guess, where i'm trying to reduce the rows in the join by using a sub select;

    does this produce results that are close to what you want?

    SELECT...

  • RE: SUM(Case) issue

    well, if there was only one in the "p" table for shift 3, the issue is your joins are bringing in 4 more rows, right? i would guess the other...

  • RE: SUM(Case) issue

    well the SQL looks right, so it's gotta be the data not meeting your expectations.

    i would expect the SQL below to show you that there really is 4 items in...

  • RE: SQL Server 2005 Developer Edition - Licensing

    i believe by single developer, it is single installation. they do not want you to buy one copy and install it on 20 developers machines. 20 installations would require 20...

  • RE: More efficient INSERT "blank row" statement.

    if your table t1 already has those values, you should be able to use the integer modulus to determine/select only those values that are perfectly divisible by 100; then do...

  • RE: Delimited file import

    easily bob;

    if the table exists, or if you create a staging table, there's no porblem; you want to use BULK INSERT command to do it. your example seemed to be...

  • RE: Strange "access denied" message - in the middle of set of queries

    when you run the profiler, does the spid in the loop change, or is it incrementing?

    if it was incrementing, that would imply to me that it is getting new connections.

    if...

Viewing 15 posts - 10,276 through 10,290 (of 13,469 total)