Viewing 15 posts - 2,206 through 2,220 (of 7,187 total)
Other reasons not to allow users to RDP on to the server:
(1) If users don't have access to log directly on to the server, you have a more secure environment...
November 9, 2016 at 9:19 am
This isn't the recommended way, but if it's only the query you want to modify, and you have no other way of doing it, you could edit the package file...
November 9, 2016 at 8:50 am
I'm sure if you type "find largest index in database" into your favourite search engine, you'll get a wealth of results. Or you could right-click on your database, choose...
November 9, 2016 at 7:08 am
Your transaction log size is a product of the activity in your database. You're in simple recovery mode, so as long as there's nothing preventing the log from being...
November 9, 2016 at 5:56 am
Just cast RegistrationDateTime as time and write your WHERE clause so it returns rows where it's less than '02:00' or greater than '15:00'.
John
November 8, 2016 at 9:47 am
Please supply table DDL for tableA, including indexes. How many rows are in the table? Are your statistics up to date? What happens if you add SELECT...
November 8, 2016 at 8:49 am
Perhaps the owner no longer exists on the server. Try joining sys.databases to sys.server_principals on owner_id = sid.
John
November 8, 2016 at 7:46 am
I think it's those double single quotes either side of @COLLEAGUE_ID. Try removing them and see whether you get the correct result.
John
November 7, 2016 at 8:18 am
SteveD SQL (11/7/2016)
I included the insert because I have been asked in the past to provide the data structures/processes.
Steve
Yes, you were right to do so. I just made the...
November 7, 2016 at 5:57 am
Steve
I see. I assumed that because you posted INSERT statements, you were actually using them in your package. I don't know how SSIS data flows handle default values....
November 7, 2016 at 4:45 am
Steve
Try this:INSERT dbo.Product ( ProductName) VALUES ('Product A', DEFAULT)
Presumably you know at design time which columns have default values? In that case, use a Derived Column transformation to change...
November 7, 2016 at 4:06 am
What is the connection string for the data source you're using? Does it include the name of the (correct) database?
John
November 4, 2016 at 6:49 am
Once you normalise your EAV-structured data, it's easy. The best way is to change your database design so that your tables are normalised. If that's not an option...
November 4, 2016 at 5:56 am
Have you tried typing the location into the Backup file location box? Better still, write an actual RESTORE statement. You'll be able to know exactly what it's going...
November 3, 2016 at 8:06 am
Yes, although since you're working on day IDs rather than actual dates, you only need a Numbers table. You also need to cross join to your main table to...
November 2, 2016 at 10:58 am
Viewing 15 posts - 2,206 through 2,220 (of 7,187 total)