Forum Replies Created

Viewing 15 posts - 1 through 15 (of 1,047 total)

  • RE: how to take backup databaseobjects(tables scripts,storeprocedure and functions etc) in sqlserver using sql scripts

    It uses the .net framework functionality for scripting that are in the Microsoft.SqlServer.Management.Smo namespace.  I wrote a .net command line utility in C# that lets me access these handy scripting features and use it...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Adding Row count to the trailer of a CSV File dynamically

    Why not populate a merged temporary table by selecting from the two sources (ie union all). You now have the row count so then dump your header, the temp table and the trailer...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Reading XML data from SQL Table

    Basically you can use OPENXML to represent the XML data as a relational table. You need to know what flavor of XML you are dealing with though and pass the...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Parse Data from a Field Containing Multiple Values using CROSS APPLY

    First of all, I would hope never to receive data of this type in a single file like this. The data should be supplied in two files:  One containing ProductID and ProductName,...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: json search

    You could writ a C# class with method(s) to do what you want then create as CLR assembly and user functions. Then you could manipulate the column data directly with...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Business rules in software development

    A agree with Jeff. Unless it is relatively simple you should design your database objects and define the relations as it conforms to business rules but also considering what type...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Question about SQL Jobs<!-- 864 -->

    The schedule also has an enabled flag. The schedule also may have had an end date.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: SQL 2008 R2 - Need to create a CLR assembly that calls a Java function and implement as a UDF

    You'll need to create a .NET assembly that ultimately calls out to the Java routine. There will be a lot of overhead in this so consider how it will be...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: bcp import error numeric value out of range

    videl666 (2/6/2014)


    Ok, thanks....I was hope that i can do this in other way - not inserting in int table and copying data from it to bigint.....

    Well, I supposed you could...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: bcp import error numeric value out of range

    Okay, then your only other option is to bcp in to a stage table that has ints, then do a final insert into the destination table having the bigints.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Is this a bug or undocumented expected behaviour - sp_rename.

    sp_rename won't work on computed columns. Probably have to drop and recreate it. The caution/warning messages are normal output of sp_rename.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: bcp import error numeric value out of range

    You don't want to use RAW in this case because it expects the data types to be the same. Use something other than RAW, or use a query out that...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Issue with UNION in stored procedure

    Your query looks all wrong for one thing, you are using group by with no aggregate so I assume you want to SUM(AMOUNT) for different conditions. And you really don;t...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Filegroups vs multiple files

    With separate file groups you can specify exactly where tables or partitions will be located.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Hardware for data mirroring.

    With SQL Server 2012 Always-On AG you can have active/Readonly-Active cluster without a SAN. You just need two servers set up the same way.

    The probability of survival is inversely proportional to the angle of arrival.

Viewing 15 posts - 1 through 15 (of 1,047 total)