Viewing 15 posts - 5,986 through 6,000 (of 8,754 total)
timthetraveler (3/21/2015)
I'm trying to quantify the number of times folks use SQL Server Management Studio to change client data in one of our production databases. Does SQL Server keep...
March 22, 2015 at 3:08 am
roy.tollison (3/21/2015)
creating my own app to do this since it will have...
March 22, 2015 at 2:52 am
ramana3327 (3/21/2015)
I tried to divide the backup into different files. I am using the same drive but using striping option. The drive has more than 600 GB free space. The...
March 22, 2015 at 2:41 am
sraghunandana.6 (3/22/2015)
Im upgrading the SQL Database and i've been facing one error.
TITLE: Microsoft SQL Server 2012 Setup
------------------------------
The following error has occurred:
The network path was not found. (Exception from...
March 22, 2015 at 2:36 am
mbSanDiego (3/21/2015)
March 22, 2015 at 1:44 am
jaggy99 (3/21/2015)
I like to create an SQL view to divide amount 300,000 between 12 month starting from Month July 2014 to June 2015 as shown below
Amount ...
March 22, 2015 at 1:42 am
Here is a solution that is based on the data in the OP with some corrections and one multi-month entry added to it. The code is straight forward and somewhat...
March 22, 2015 at 1:05 am
Lynn Pettis (3/21/2015)
Thank you Eirikur. Nothing in the help that I found indicated that this needed to be done, it just assumed it was already there in the Tools...
March 21, 2015 at 10:53 pm
spaghettidba (3/21/2015)
TomThomson (3/20/2015)
spaghettidba (3/19/2015)
March 21, 2015 at 1:50 pm
Just for fun here are two alternative methods, a single table scan solution without recursion and a dual self-join
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_DATE_SAMPLE') IS NULL
BEGIN
CREATE TABLE dbo.TBL_DATE_SAMPLE
(
...
March 21, 2015 at 3:55 am
Have you tried to add the Code Snippet Manager Command to the Tools menu?
😎
Edit: typo
March 20, 2015 at 11:37 pm
wagdy_maher (3/20/2015)
I need help if any idea to keep data of last 6 month only and the oldest keep it as backup or anyany idea please ?
Thanks,
Quick thought, there is...
March 20, 2015 at 10:41 pm
A straight forward way of doing this is to calculate the running total on the first column, here is an example
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_SAMPLE_SHIFT') IS NOT NULL DROP TABLE...
March 20, 2015 at 9:43 pm
Hi and welcome to the forum.
Not certain what you are after but this is my first interpretation
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_SAMPLE_DATA') IS NOT NULL DROP TABLE dbo.TBL_SAMPLE_DATA;
CREATE TABLE dbo.TBL_SAMPLE_DATA
(
...
March 20, 2015 at 2:45 pm
patrickmcginnis59 10839 (3/19/2015)
Eirikur Eiriksson (3/17/2015)
add2700 (3/17/2015)
This issue has existed for a long time. SQL Server 2005 SP2 on server 2003.
First thought is that fixing the ageing OS/SQL Version should be...
March 19, 2015 at 9:13 am
Viewing 15 posts - 5,986 through 6,000 (of 8,754 total)