Forum Replies Created

Viewing 15 posts - 2,746 through 2,760 (of 8,753 total)

  • RE: Insert into table

    Here is a suggestion towards a solution

    😎

    USE TEEST;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.Table_1') IS NOT NULL DROP TABLE dbo.Table_1;

    CREATE TABLE [dbo].[Table_1](

    [Col1] [nchar](10) NULL,

    [Col2] [nchar](10) NULL,

    [Col3] [nchar](10) NULL,

    [Col4] [nchar](10) NULL,

    [Col5] [nchar](10) NULL

    ) ON...

  • RE: Dropping a view

    Good question and a good case for using WITH SCHEMABINDING when creating a view.

    😎

  • RE: Find column values with Pattern

    info 58414 (11/14/2016)


    Hi,

    How can I find all the rows of a database that have a particular pattern: for example: (INC000007615432) or with other words:

    Find all columns in a Database, where...

  • RE: Insert into table

    wikus (11/14/2016)


    Hi,

    I would appreciate some help please.

    I want to do a select distinct only on Col2 and add rows for those.

    INSERT INTO Table_1(Col1, Col2, Col3,Col4, Col5)

    SELECT DISTINCT Col1, Col2, 'ZZZ',...

  • RE: MICROSOFT SQL SERVER LICENSE TERMS

    IT researcher (11/14/2016)


    I need to use SQL server 2008 because it' the latest SQL server which is supported in XP, there are many customers present who still uses the...

  • RE: SQL complex join with One to Many relationships

    At the first glance, it looks like you are missing the second join specification for the ResourceGroupEnvironment table as the duplication is coming from that table (different VIP values), see...

  • RE: Fast Import Data with xml column

    psred (11/13/2016)


    Can anyone tell me the quick way to copy a source table of 1.3Tb data to destination table with xml datatype column in source table.

    Can you elaborate...

  • RE: Help with a query runs forever but returns nothing.

    The first thing I suggest is to rewrite the WHERE clause to eliminate the conversion and concatenation, either change to an EXIST or JOIN clause.

    😎

    INSERT INTO [addb20].[Target_MergeAMD4_WithData].[dbo].[ConfigOption]

    (

    ...

  • RE: SQL Query/JOB Error

    Can you post the DDL (create table) scripts for MAP, MAP_DAY and MAP_MONTH please?

    😎

  • RE: Restore trans log(s) from vss snapshot-based backuo

    124420294 (11/13/2016)


    But from below microsoft official docuement, it seems that vss snapshot plus trans log restore is support.

    https://technet.microsoft.com/en-us/library/cc966520.aspx

    (Full restore with additional rollforwards)

    The document you are referring to is an...

  • RE: SQL Query/JOB Error

    gunadi.arunanto (11/13/2016)


    Hi all,

    Need advise for my error

    Executed as user: NT AUTHORITY\NETWORK SERVICE. Arithmetic overflow error converting IDENTITY to data type int. [SQLSTATE 22003] (Error 8115) Arithmetic overflow occurred. [SQLSTATE...

  • RE: Server Hangs

    s0da9 (11/13/2016)


    Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (Intel X86) Jul 9 2008 14:43:34 Copyright (c) 1988-2008 Microsoft Corporation Standard Edition on Windows NT...

  • RE: Good to have Multiple Data Warehouses?

    xsevensinzx (11/13/2016)


    Jeff Moden (11/12/2016)


    To wit, I frequently go with the "no data warehouse" option in favor of just writing some streamlined code to solve actual problems instead of a system...

  • RE: SQL BACKUP FAILED (?) Job file missing

    Ed Wagner (11/12/2016)


    Eirikur Eiriksson (11/12/2016)


    To me it looks like a Maintenance Plan related error, strongly suggest to switch to Ola Hallengren's SQL Server Maintenance Solution[/url], much more robust.

    😎

    Question, what if...

  • RE: Are the posted questions getting worse?

    Jeff Moden (11/12/2016)


    Eirikur Eiriksson (11/12/2016)


    What a spamtastic Saturday morning:pinch:

    😎

    Indeed it has been. I've personally hidden about 100 spam posts in the last 4 to 5 hours. The bots...

Viewing 15 posts - 2,746 through 2,760 (of 8,753 total)