Viewing 15 posts - 3,061 through 3,075 (of 3,482 total)
If you're using pass-through queries, it means that your SQL syntax will work against SQL Server without modification. If not, you may have a lot of work to do...
March 29, 2014 at 5:09 pm
here's a really article example of creating an XML file...
Here's a really simple query on a table I had handy...
SELECT CompanyID
, RTRIM(CompanyName) AS CompanyName
, RTRIM(Address) AS StreetAddress
, RTRIM(City) AS City
,...
March 29, 2014 at 1:44 am
I think I understand what you're doing. It sounds like you're trying to use some kind of grouping on states on the X axis... but the design sounds really...
March 28, 2014 at 9:34 pm
just for grins, can you attach to SQL Server from Access and create a Make Table query to create the columns you need? I'm just wondering because maybe the...
March 28, 2014 at 9:24 pm
Here's a create table statement and the insert statements to populate your table. The column names are a guess. If they're descriptive, it helps a LOT to explain...
March 28, 2014 at 7:09 pm
Good to know I got a similar solution...
SELECT SampleDate
, CASE WHEN MONTH(SampleDate)%2=0 THEN SampleDate
ELSE DATEADD(m,-1,SampleDate) END
FROM
(
SELECT CAST('03-25-2014' AS DATE) AS SampleDate
UNION ALL
SELECT CAST('01-01-2014' AS DATE)
) x;
March 25, 2014 at 6:39 pm
I like the empty Totals row option (hint hint)... see if you can figure that part out. You won't learn anything if you don't try things for yourself.
BTW,...
March 25, 2014 at 4:58 pm
Is the schedule of sessions relevant? If so, could you post the DDL for the create/insert statements?
You might want to search for Itzik Ben-Gan's "Gaps and Islands" solutions. (His book...
March 25, 2014 at 3:08 pm
converting calendar date into Fiscal Year
The most flexible way of doing this is to create a Calendar table in your database and populate it. Then you can join in...
March 25, 2014 at 11:15 am
Got part of the way there... must have done something silly, because the math looks backwards... I created some sample records to play with... hopefully it's enough.
SELECT EmpID, InOutDate
,MIN(InOutTimeStamp)...
March 24, 2014 at 9:02 pm
I almost feel cheeky answering this - only because you are so close.
You can set the Visibility of a chart/tablix/control by setting the Visibility Property of the chart/tablix in question:
Choose...
March 24, 2014 at 3:27 pm
Sounds like you need 3 tables:
Company (CompanyID INT IDENTITY(1,1) PRIMARY KEY...)
EconActivity(EconActivityID INT IDENTITY(100000,1) PRIMARY KEY...)
CREATE TABLE CompanyActivity(
CompanyID INT,
...
March 24, 2014 at 12:32 pm
Google is your friend.
March 23, 2014 at 12:01 pm
instead of starting there, why not find out what the exam covers and then do it the hard way: PRACTICE. Try to incorporate as many features of SQL Server...
March 22, 2014 at 7:20 pm
How do you get from one dataset to the other? What transformations are you doing?
Either my psychic powers are failing or you have left out a significant part of...
March 20, 2014 at 11:32 pm
Viewing 15 posts - 3,061 through 3,075 (of 3,482 total)