Viewing 15 posts - 4,876 through 4,890 (of 15,381 total)
laercionb (5/15/2014)
is having words in English that use the google translator so it was pointless.
I want to create a scale of employees
exist words in English that...
May 15, 2014 at 9:46 am
This looks like you have views joining to views which are joining to views. Nesting views creates some of the worse execution plans.
In order to help we need a...
May 15, 2014 at 9:17 am
Let's replace the whole looping concept and do this in two steps. The first step is to create the date values as rows in CalDates. Since everything else is all...
May 15, 2014 at 8:56 am
Try this link and see if it helps.
http://msdn.microsoft.com/en-us/library/office/aa831024%28v=office.10%29.aspx
May 15, 2014 at 8:50 am
SQL is delicious (5/15/2014)
OK. This won't work unless you do THIS too:
SET @n = 1
SET @n = (SELECT n FROM dbo.numbers WHERE n = @n);
BWAHAHAHAHA!!!! That sets the value...
May 15, 2014 at 8:02 am
pdodgson (5/15/2014)
I am currently in the process of writing an INSERT/UPDATE trigger in SQL 2012, the scenario is, I have a table called Quote, what I want to happen is...
May 15, 2014 at 7:54 am
If anybody else wants to see this code with some formatting...
CREATE TABLE CalDates (
MonthID INT IDENTITY(1, 1)
,MMDDYYYY DATETIME NOT NULL
,MonthStart DATETIME
,NextMonth DATETIME
,MonthDescr CHAR(6)
,MonthNam CHAR(3)
,YearMonth INT
,MonthNum INT
,DayNum INT
,IsBusinessDay CHAR(1)
);
DECLARE @MMDDYYYY DATETIME
,@MonthStart...
May 15, 2014 at 7:47 am
Hi and welcome to the forums. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form...
May 15, 2014 at 7:43 am
marko.celarc (5/15/2014)
I've a problem with a SP, running slow, even though there is a return statement at the beginning of the SP. (I put it there for testing purposes)
for...
May 15, 2014 at 7:41 am
jshahan (5/15/2014)
May 15, 2014 at 7:34 am
alicesql (5/15/2014)
INSERT INTO [dbo].[CalDates]
...
May 15, 2014 at 7:25 am
laercionb (5/14/2014)
Type want to do a range of staff.
then have a table of date where I want to create a table where the...
May 15, 2014 at 7:21 am
laercionb (5/14/2014)
example:
create uspCreateTable
@ NameTable varchar (10)
the
begin
create table @ NameTable (
id int,
Name varchar (20))
end
the...
May 14, 2014 at 2:57 pm
Kudos on the attempt at posting ddl and sample data. However, the sample data is unusable because the insert statements are all invalid. Secondly, you mention in your query TagValue...
May 14, 2014 at 2:55 pm
jdasilva (5/14/2014)
Sean Lange (5/6/2014)
jdasilva (5/6/2014)
In the example I am working on, I am polling the data for...
May 14, 2014 at 2:21 pm
Viewing 15 posts - 4,876 through 4,890 (of 15,381 total)