Viewing 15 posts - 1,141 through 1,155 (of 8,416 total)
ChrisM@home (1/14/2012)
SELECT custid, store, Amount
FROM Table_1 t1
WHERE NOT EXISTS (SELECT 1 FROM table_2 t2 WHERE t2.store = t1.store AND t2.product...
January 14, 2012 at 10:18 am
Second option:
DECLARE @Example TABLE
(
CusNo char(6) PRIMARY KEY,
Amount money NOT NULL
)
INSERT @Example
(CusNo, Amount)
VALUES
...
January 14, 2012 at 10:12 am
This is one way to do it:
DECLARE @Example TABLE
(
CusNo char(6) PRIMARY KEY,
Amount money NOT NULL
)
INSERT @Example
...
January 14, 2012 at 10:03 am
A quick educated guess, before the requested details turn up:
CREATE VIEW dbo.T2V
WITH SCHEMABINDING AS
SELECT
t.product,
t.store,
COUNT_BIG(*) AS...
January 14, 2012 at 9:46 am
GilaMonster (1/14/2012)
385 GB of memory? That's a huge server.
It's one of those new ones with 3x128GB and 1x1GB RAM chips installed :laugh:
January 14, 2012 at 8:30 am
Jack Corbett (1/14/2012)
January 14, 2012 at 8:23 am
I was curious to see how difficult it would be to implement a table and indexed view combination that would allow you to do all the things you require. ...
January 14, 2012 at 8:15 am
This is a good option, so long as the temptation to use a scalar function in the constraint definition is resisted. Write the condition out in full in the...
January 14, 2012 at 5:42 am
Jeff Moden (1/8/2012)
Considering the required operating system change, it might as well be SQL SERVER 2020 for me.
Set up a VM on your existing machine, install a supported version of...
January 14, 2012 at 5:35 am
For more information and details:
Online Index Operations for indexes containing LOB columns[/url]
Online non-NULL with values column add in SQL Server 11[/url]
January 14, 2012 at 5:11 am
If you are looking for a way to also read the contents of a file directory from SQL Server, you could use xp_cmdshell. Another way is to use a...
January 14, 2012 at 4:59 am
As Sean says, FILESTREAM is an option, as is storing just the path in SQL Server and keeping the images themselves in the file system. Storing images in the...
January 14, 2012 at 4:11 am
I see Lynn posted while I was writing that. In an attempt to add some value, here's a possible procedure implementation. I don't like this as much overall:
CREATE...
January 13, 2012 at 11:46 pm
Jack Corbett (1/13/2012)
January 13, 2012 at 11:39 pm
Sean Lange (1/13/2012)
January 13, 2012 at 11:28 pm
Viewing 15 posts - 1,141 through 1,155 (of 8,416 total)