Viewing 15 posts - 1,666 through 1,680 (of 3,507 total)
WHERE rn = 1[p][/p]
with something...
January 17, 2017 at 11:38 am
Please read this article to learn how to post so that people can help you more easily.
January 16, 2017 at 10:14 pm
January 15, 2017 at 9:55 pm
Senchi - Sunday, January 15, 2017 8:58 PMIs there a way arround ?
I need ordinary users to see who belongs in their group.
Create...
January 15, 2017 at 9:17 pm
In t-sql 2012, I have 2 datetime fields where I need to compare the datetime...
January 12, 2017 at 9:43 am
One way might be something like this... use a CTE to select every nth record, and then graph that.
with Demo as
(
select custID
, OrderMonth
, qty
, ROW_NUMBER() over (partition by CustID order...
January 11, 2017 at 8:45 pm
What kind of database is the private database? you could probably use SSIS to do it. Or a Linked Server...
January 11, 2017 at 6:52 pm
Are the two datasets based on the same tables?
If they are, you could create a calculated column in your dataset that groups the "1-4" records together and the "5" records...
January 11, 2017 at 4:21 pm
What version of SQL Server are you using? If you're using something post-2012(?), you have to download and install SQL Server Data Tools (used to be BIDS)... that enables you...
January 3, 2017 at 8:13 pm
One option might be to use the bastard child of SQL Server - Access... (bear with me for a minute)....
Create a table in Access of (source column name, destination column...
December 26, 2016 at 8:54 am
It seems you are misunderstanding what SQL Server does with empty space in a table... It does nothing unless you tell it to.
Executing DELETE statements against a table...
December 25, 2016 at 10:48 pm
To what entity to the e-mail, address, and phone number belong? Presumably a person. A student? They certainly don't look like they belong in the Fact table at...
December 20, 2016 at 8:31 pm
Seriously? All of these follow a similar pattern... this one:
SELECT DISTINCT field1, field2
FROM SourceTable;
Boggles my mind you could ask a reasonably complicated question and then trip up on the part...
December 20, 2016 at 8:24 pm
Could you post your code? Not sure why you have ot itereate over the results and do something... trying to figure out a way to avoid using a cursor.
December 19, 2016 at 7:33 pm
INSERT INTO MyNewTable(ColumnList)
SELECT ExpressionList
FROM OldTable
?
December 15, 2016 at 11:31 am
Viewing 15 posts - 1,666 through 1,680 (of 3,507 total)