Viewing 15 posts - 1,966 through 1,980 (of 3,507 total)
The first thing that jumps out at me is the
INNER JOIN table3 c ON CHARINDEX(c.Column,a.Column)>0
Joining on a calculated value is just terrible for performance, because you can't index the...
May 2, 2016 at 9:44 pm
Instead of showing us the code, please post some sample data showing the original structure of your table and then the desired one.
Most helpful would be if you would post...
May 2, 2016 at 2:34 pm
That VALUES trick is really handy! Absolutely going to steal that!
May 2, 2016 at 1:23 pm
Rob Collie (PowerPivotPro.com) points out which versions contain the PowerPivot features on his blog here[/url].
Thanks for confusing everyone again, Microsoft. </snark>
May 2, 2016 at 11:01 am
Yeah, I would hope so. The "documentation" was absolutely hilarious - I photocopied that page and hung it on my wall. I think I wrote "JOB SECURITY" across the...
May 2, 2016 at 10:36 am
USE tempdb;
GO
CREATE TABLE Customer (
CustomerID INT IDENTITY,
FirstName VARCHAR(15) NOT NULL,
LastName VARCHAR(20) NOT NULL
CONSTRAINT pkCustomer PRIMARY KEY (CustomerID) );
CREATE TABLE CustSite (
SiteID INT IDENTITY(100,1),
SiteName VARCHAR(10) UNIQUE NOT NULL,
RelatedCustomerID INT NOT NULL
CONSTRAINT...
May 1, 2016 at 7:04 pm
Where are you getting the frequency information from? Care to share that part?
May 1, 2016 at 12:35 am
LOL...
<insert TERRIBLE advice here> ... and don't forget to ascribe to someone who actually knows what he's talking about.
Sorry, couldn't resist!
The question reminded me of some "documentation" of a database...
April 30, 2016 at 10:57 am
This is a great discussion on triggers.
Here's the MS page on creating triggers. https://msdn.microsoft.com/en-us/library/ms189799.aspx
Edit - just looked around here and Dwain Camps wrote a great article on triggers[/url]. Definitely worth...
April 30, 2016 at 10:39 am
Welcome to SSC. Thanks for the CREATE TABLE and INSERT scripts... they're easier to use if you post them this way, though:
CREATE TABLE Employee(
EmployeeID INT PRIMARY KEY,
EmployeeName VARCHAR(20) NOT...
April 29, 2016 at 8:40 pm
GoogleFu must be broken... There's a bunch of documentation on the MS website... <putting on my pointy hat D-U-N-C...>
April 28, 2016 at 10:15 pm
multiple values where? In a multi-select parameter? In your report somewhere?
April 28, 2016 at 2:24 pm
(Makes me think this place needs a "canned response macro"... )
😀
April 28, 2016 at 2:22 pm
Got table definitions? Sample data? (Create table and insert scripts)... can be completely fake, just representative.
April 27, 2016 at 5:48 pm
Viewing 15 posts - 1,966 through 1,980 (of 3,507 total)