Viewing 15 posts - 3,181 through 3,195 (of 6,401 total)
Please post the create table definition along with data for the table so what we can build up the string for you.
December 5, 2012 at 6:05 am
Well that converts perfectly.
Can you provide the DDL and sample data for table ETCOL along with your full query?
December 5, 2012 at 5:35 am
Can you provide some sample data of the format that the DOB is and how it should be formatted
December 5, 2012 at 5:29 am
If you run the package manually yes.
If you run the package by a Agent Job no.
If you only want to design and to execute SSIS packages, you do not have...
December 5, 2012 at 4:52 am
The SSIS service is not needed to run packages which are scheduled via SQL Agent, SQL will execute it via the DTExec command line tool.
If your running the package manually...
December 5, 2012 at 4:28 am
CREATE TABLE [dbo].[J]([JID] [int],[JTypeID] [int],[DID] [int])
CREATE TABLE [dbo].[JType]([JTypeID] [int],[CID] [int],[IsDefaultDeviceJState] [bit])
CREATE TABLE [dbo].[D]([CID] [int],[DID] [int])
INSERT INTO J VALUES (1,NULL,1),(2,NULL,2),(3,NULL,1)
INSERT INTO JType VALUES (1,1,1),(2,1,0),(3,1,0),(4,2,0),(5,2,0),(6,2,1)
INSERT INTO D VALUES (1,1),(2,2)
UPDATE J
SET JTypeID =...
December 5, 2012 at 3:56 am
Index maintenance should be a regular thing, indexes get fragmented for many different reasons, I recommend reading up on indexes and fragmentation, some good links below.
http://www.sqlservercentral.com/stairway/72399/
http://sqlinthewild.co.za/index.php/2008/10/20/what-is-fragmentation/
December 5, 2012 at 3:47 am
Same as this topic
http://www.sqlservercentral.com/Forums/Topic1392869-391-1.aspx
December 5, 2012 at 3:35 am
Look at the COLUMNS_UPDATED() clause
http://msdn.microsoft.com/en-us/library/765fde44-1f95-4015-80a4-45388f18a42c
December 5, 2012 at 3:34 am
Look at building a calendar table, my personal favourite is this one
http://www.sqlservercentral.com/scripts/Date/68389/
Then you just need to query that table where the day is a Monday between your two dates.
December 5, 2012 at 3:31 am
Use policy based management on the Server Configuration facet, give it the values it should be, then if the values change it alerts you
December 5, 2012 at 3:00 am
No, SQL must restore the database as it was at the time it was backed up, meaning it must create it with a size of 150GB.
The only thing would be...
December 5, 2012 at 2:58 am
Most excellent, glad it is working for you.
December 5, 2012 at 2:37 am
Because you are comparing a string value against a string value and the first is not less than the second, you need to ensure you use the right data types.
declare...
December 4, 2012 at 8:06 am
Viewing 15 posts - 3,181 through 3,195 (of 6,401 total)