Viewing 15 posts - 241 through 255 (of 5,590 total)
james.brown2 (9/17/2015)
I have a query which has data injected into it, which is returned from a user defined function. This is very slow and I'm looking for a way...
September 18, 2015 at 2:43 pm
Torin (9/17/2015)
SQL Server Logs show that a full backup is occurring on each database at 10:30pm every night.
We have a Maintenance Plan the does a full backup on...
September 17, 2015 at 3:28 pm
rkelly58 (9/17/2015)
If the booking begins/finishes at...
September 17, 2015 at 3:19 pm
In order to get and use the calculated average in subsequent columns, I decided to go with the "quirky update" method.
Edit: I hope that someone can come up with a...
September 17, 2015 at 3:07 pm
Jason A. Long (9/17/2015)
IF OBJECT_ID('tempdb..#months') IS NOT NULL
DROP TABLE #months;
create table #months (
jan float,
feb float,
mar float,
apr float,
may float,
jun float,
jul float,
aug float,
sep float,
oct float,
nov float,
dec float);
insert into #months...
September 17, 2015 at 2:53 pm
jghali (9/9/2015)
It's been a few weeks now that I'm getting calls from some clients due to a syntax error. I'm unable to reproduce the error. when they upgrade...
September 9, 2015 at 2:53 pm
amar_kaur16 (9/8/2015)
Looks like I am missing records because I am interested in getting first follow up date but I am not getting next follow up date right after the...
September 9, 2015 at 9:19 am
sqlfriends (9/7/2015)
September 7, 2015 at 12:12 pm
mar.ko (9/7/2015)
My bad....the column was formatted as decimal (who did that ??!!**&&)
If you don't know this, then you have people with improper access to your database.
Gotta love how requesting the...
September 7, 2015 at 11:31 am
ramrajan (9/7/2015)
ParentID INT,
ChildID INT,
Value float
)
INSERT INTO @table
SELECT 1,1,1.2
union
select null,1,4.8
union
select null,1,4.6
union
select 2,2,1.8
union
select null,2,1.4
union
select 3,3,1.12
union
select null, 3 , 56.7
union
select null,3,43.6
select * from @table
/*
This case ParentID - Child...
September 7, 2015 at 11:27 am
The proper way to enable a constraint so that it ensures that all data is consistent is:
ALTER TABLE <tablename> WITH CHECK CHECK CONSTRAINT <constraintname>;
If there is any data that doesn't...
September 7, 2015 at 11:07 am
chandrakant_gaurav (9/7/2015)
September 7, 2015 at 11:02 am
chandrakant_gaurav (9/7/2015)
Apologies for the confusion, the columns that have changed should be selected dynamically. Requirement is to identify the changed columns for any securityID.
Still confused by your requirements... 🙁
Is the...
September 7, 2015 at 9:57 am
DamianC (9/7/2015)
I have a table (folderstructure) with the following columns:
pcmid, cmid, foldername
pcmid is the parent directory
cmid is the directory
foldername is the name of the directory
e.g. note, number of levels are...
September 7, 2015 at 9:48 am
DataGuy (9/4/2015)
I need to create a function that replaces the data in a column with an 'X' based on the LEN of the data in the column....
September 4, 2015 at 9:22 pm
Viewing 15 posts - 241 through 255 (of 5,590 total)