Viewing 15 posts - 2,866 through 2,880 (of 6,401 total)
What are you trying to do?
Import flat files from Server1 into a database on Server2?
If so ensure that you have setup the correct file shares, use UNC paths in your...
January 15, 2013 at 2:17 am
yes as long as DataA and DataB have a joining column, then you just need to use the lookup function to pull the right column from DataB where it matches...
January 15, 2013 at 2:00 am
Yep, query msdb.dbo.sysjobschedules, link it back to msdb.dbo.sysschedules to get the schedule id, pass it into sp_update_schedule with an enabled param of 0
January 15, 2013 at 1:59 am
In the footer of a subscription email? Not that I am aware of.
In the report itself, you could use an expression on the text box
January 15, 2013 at 1:55 am
failed with the following error: "Cannot open backup device 'D:\\Program Files\\Microsoft SQL Server\\MSSQL.1\\MSSQL\\Backup\\BDSBPM\\BDSBPM_backup_201301010300.bak'. Operating system error 3(The system cannot find the path specified.).
Ensure the path is correct
A backup every...
January 15, 2013 at 1:52 am
Query sys.default_constraints, link it back to sys.columns and you get the default name, table name and column name.
For rules, they are a depereciated feature, you should consider changing them all...
January 15, 2013 at 1:40 am
Many ways
exec xp_msver 'ProcessorCount'
SELECT cpu_count FROM sys.dm_os_sys_info;
Sure if you google "Number of Processors SQL" you will find others.
January 15, 2013 at 1:20 am
That would be one for a ranking function. Depending on how you want to do what you need to do and then also what you want to do if...
January 14, 2013 at 8:32 am
Use an expression in the text box which is the title, like the below
="Report with "+CStr(Paramaters!Param.Value)+" persons"
January 14, 2013 at 7:52 am
Time plays a big factor in the deletion as it looks for anything which is directly 15 days or older.
For example, day 1 backup finishes at 00:10, day16 finishes at...
January 14, 2013 at 6:53 am
That would then call for something to be coded in the app which will FTP up the file to a specific location, then connect to SQL and issue something like...
January 14, 2013 at 6:32 am
So the computed column is ColA / ColB, what do you want the output to be.
If ColA is 10 and ColB is 0, do you want the computation to be...
January 14, 2013 at 6:22 am
I would say this is a task for SSIS.
Use it to download the files from the FTP server and then if it downloads any execute a for each loop to...
January 14, 2013 at 6:08 am
Hi
Something like this?
DECLARE @Client TABLE (ClientID INT, Expected INT)
DECLARE @JobHis TABLE (ClientID INT, JobInfo INT)
INSERT INTO @Client VALUES (1,1),(2,2),(3,3),(4,4),(5,5)
INSERT INTO @JobHis VALUES (1,100),(2,100),(2,200),(3,100),(3,200),(4,100),(4,200),(4,300),(4,400),(5,100),(5,200),(5,300),(5,400),(5,500)
SELECT
t1.ClientID,
t1.Expected,
COUNT(t2.ClientID) AS Actual,
CASE WHEN t1.Expected > COUNT(t2.ClientID)...
January 14, 2013 at 6:04 am
Viewing 15 posts - 2,866 through 2,880 (of 6,401 total)