Viewing 15 posts - 1,441 through 1,455 (of 2,038 total)
Hi
I agree with Lutz. An XML file does not contain enough information to create tables from. You may need an XSD for this. As you say you are currently experimenting...
April 11, 2009 at 12:01 pm
mister.magoo (4/11/2009)
Borrowing a bit from Flo...
Always welcome! That's the reason for sample data! 🙂
DECLARE @t TABLE (Name VARCHAR(30), Reading INT, Result INT)
INSERT INTO @t
...
April 11, 2009 at 10:36 am
I remember a case my apprentice told me from one of his teachers, the "IF-loop". Sure a slip of the tongue, but anyway:
DECLARE @i INT
SET @i = 1
START:
PRINT 'Hello'
SET @i...
April 11, 2009 at 10:33 am
Kavin (4/11/2009)
April 11, 2009 at 10:23 am
You're welcome. I only did the start-up, Barry found the solution!
I just came back from shopping and intended to start the .Net Reflector to play Sherlock Holmes... So I put...
April 11, 2009 at 10:21 am
Hi
Try to handle it with a PIVOT operator.
Greets
Flo
PS: Maybe have a look to the "Best Practices" link in my signature for posting sample data and DDL. This always increases the...
April 11, 2009 at 7:32 am
Hi
And a completely set based solution:
DECLARE @t TABLE (Name VARCHAR(30), Reading INT, Result INT)
INSERT INTO @t
SELECT 'UNDRI',...
April 11, 2009 at 7:22 am
Hi
Sure you don't know all possible objects (forms) to be created but maybe there are many common business processes as "Claim", "Order", "OrderPosition", "Shipment", "Physical Unit", "Contract", "Partner", "Customer", "Contact",...
April 11, 2009 at 7:00 am
Hi Pez
If you just need the available drives try this:
using System;
using System.Collections.Generic;
using System.Data;
//using System.Data.SqlClient;
//using System.IO;
using System.Linq;
using System.Text;
//using System.Net;
using Microsoft.SqlServer.Management.Smo;
using Microsoft.SqlServer.Management.Common;
namespace ConsoleApplication1
{
class Program
{
...
April 11, 2009 at 4:22 am
Hi
In SQL Server 2000 I think there is no set based solution. You have to work with WRITETEXT function:
CREATE TABLE #t (Id INT, Txt TEXT)
INSERT INTO #t
...
April 11, 2009 at 3:44 am
Shane Redding (4/10/2009)
Why not try GOTO Step#. You can find it on BOL. I had to write something recently and it worked like a charm.
Hi
The GOTO should always be one...
April 11, 2009 at 3:31 am
Hi
An EAV database structure is by design a performance issue.
Maybe you can design a hybrid solution. You create tables for all (or most) possible objects which have to be represented...
April 11, 2009 at 3:17 am
Hi jignesh
If you use an IDENTITY column it will be incremented automatically and you can get the value with SCOPE_IDENTITY() function. If you don't have an IDENTITY column use a...
April 11, 2009 at 2:59 am
April 10, 2009 at 10:41 am
Stupid question:
Is the user account configured in SQL Server as login and as user for the database?
Did you try to connect locally with the windows account?
Greets
Flo
April 10, 2009 at 10:31 am
Viewing 15 posts - 1,441 through 1,455 (of 2,038 total)