Forum Replies Created

Viewing 15 posts - 46 through 60 (of 359 total)

  • RE: Using BCP Utility from command prompt

    Does the batch file on computer B work using the same credentials you are logging on to Computer A with?

    ***The first step is always the hardest *******

  • RE: Blocking in a VL Table

    yes this is possible, the update could block any other query on that table, it would all depend on where the data is held and what lock your update has...

    ***The first step is always the hardest *******

  • RE: Capture query which takes longer than 20 seconds and send email from SQL Server

    look at monitoring tools such as redgate

    ***The first step is always the hardest *******

  • RE: What is the best way to on-board (train) a new junior employee?

    Lead by example, set a good example get a good result, its like bringing up kids 🙂 

    Plus get them on this site

    ***The first step is always the hardest *******

  • RE: Insert with dynamic SQL and Cursor for variable table/columns according to update list

    ooch, a bit of over processing, i guess your are looping through and passing different parameters into @SQL_TempTable_Insert
    thats going to be really slow.

    I would take a look...

    ***The first step is always the hardest *******

  • RE: Balancing Writes

    If your DB server is not capable of taking the through put then you need to up the spec of the DB server. alternatively you need to go back to...

    ***The first step is always the hardest *******

  • RE: Balancing Writes

    I think based of your description it would be hard for anyone to offer any advice, i can ready your explanation in a few ways and give different answers for...

    ***The first step is always the hardest *******

  • RE: Insert with dynamic SQL and Cursor for variable table/columns according to update list

    whats the purpose of database B? 

    you mention Database B  has a different schema to database A, is this by design or do you modify the schema before your...

    ***The first step is always the hardest *******

  • RE: Update failing from CSV if data not in table

    when updating information based on an external source be it CSV, BCP or whatever I always like to keep an audit trail of say last 6 months of updates. 

    ***The first step is always the hardest *******

  • RE: Bullk insert in sql server..

    im not 100 sure exactly what you want but if the second line is always blank then start at the 3rd 

     BULK  INSERT Table_name  FROM  path_filename  WITH  (FIRSTROW = 3,FIELDTERMINATOR = '','',ROWTERMINATOR =...

    ***The first step is always the hardest *******

  • RE: DATEPART WEEK start Monday

    depending on your datefirst settings you could try incorporate weekday 
    select datepart(WEEKDAY,getdate())  -- if select @@DATEFIRST = 7 (default) then today would be 2 

    alternatlivly

    look at setting...

    ***The first step is always the hardest *******

  • RE: I'm Not a Lawyer, But...

    In my current role i deal with Data in one way or another, day in, day out and I think its important  to have a good understanding of the laws...

    ***The first step is always the hardest *******

  • RE: String Segregation

    sgmunson - Thursday, July 19, 2018 2:15 PM

    SGT_squeequal - Wednesday, July 18, 2018 7:33 AM

    ***The first step is always the hardest *******

  • RE: Write a SQL queries for the following questions in the below image?

    for beginners may i recommend Sams tech yourself SQL in 10 minutes 🙂 10 minutes later you will be able to write the SQL to answer these questions yourself 🙂

    ***The first step is always the hardest *******

  • RE: Find lines with quoted values

    If you want to find a column that has a specific character you can use pat index

    EG

    Select * from mytable 
    where patindex('%["]%',my_column)>0 

    ***The first step is always the hardest *******

Viewing 15 posts - 46 through 60 (of 359 total)