Viewing 15 posts - 1,336 through 1,350 (of 3,505 total)
Are you allowed to create calculated fields in your report definition?=CHOOSE(Fields!GradeLevel.Value,"Pre K","K","1st","2nd","3rd","4th","5th","6th","7th", "8th", "9th", "10th", "11th", "12th")
(You could alter it to include different messages for each...
March 5, 2018 at 1:02 am
The reason I asked about Access is that I don't know how to dynamically select which columns are getting imported/mapped to which destination columns in SQL Server. I have done...
March 4, 2018 at 5:30 pm
You can do this in Access too... Open a front end (no data, just linked tables, and some code). Then loop through the table(s) and deal with them. Append to...
March 3, 2018 at 5:59 pm
Thanks for posting the INSERT scripts. But without a corresponding CREATE TABLE script, the data has nowhere to go.
February 27, 2018 at 10:59 am
That's a huge question... Are you looking for a book on SQL Server Administration or T-SQL?
February 27, 2018 at 10:53 am
I tried to reproduce your problem by using DECLARE inside the query window in PowerBI (after you specify the database etc), and mine worked. Granted, my SQL was a lot...
February 27, 2018 at 10:26 am
I am curious about how SQL works after purging data file . Per my...
February 22, 2018 at 6:28 pm
Yes, you're right. I would absolutely do this as a stored procedure. If you post the CREATE TABLE and INSERT scripts for your Agents and ActiveCalls tables (maybe 2 records...
February 21, 2018 at 12:12 am
Joe,
Here's my really small test setup:USE TempDB;
GO
CREATE TABLE Agent(
AgentID INT IDENTITY,
FirstName VARCHAR(15) NOT NULL,
LastName VARCHAR(20) NOT NULL
CONSTRAINT Agent_PK PRIMARY...
February 20, 2018 at 2:22 pm
You can capture the ID of the person with the fewest calls, and then use it in another query:DECLARE @AgentID INT;
SELECT TOP 1
@NextAgentID =...
February 20, 2018 at 2:16 pm
Okay, I'm not a DBA, so take this with a grain of salt.
What if you had a table that held the size of the log over the course of...
February 18, 2018 at 2:36 pm
Yeah, I figured that out after taking a break for a while... (That's my crummy code he was posting about.)
Took me a minute to figure out I could use...
February 18, 2018 at 2:24 pm
Why not just use a the 3-part naming convention when creating your view?
USE Tempdb;
GO
CREATE VIEW MyView
AS
SELECT CustomerID
FROM Galactic.dbo.Customer;
I'm creating...
February 17, 2018 at 1:31 pm
Thanks for the data, and expected results - it helped a lot. I fixed it up and created the scripts to populate your table - (since you're new, you get...
February 17, 2018 at 12:50 am
This would be infinitely easier if you normalized your table structure first. Repeating groups is the first thing you remove when normalizing a table.
February 14, 2018 at 12:10 pm
Viewing 15 posts - 1,336 through 1,350 (of 3,505 total)