[url=https://www.youtube.com/watch?v=spdhkjUzYRU]Saints vs Falcons Live Streaming[/url][url=https://www.youtube.com/watch?v=e4BZFJGYPkY]Giants vs Redskins Live Streaming[/url][url=https://www.youtube.com/watch?v=obY3oeB3_kQ]Cardinals vs Rams Live Streaming[/url][url=https://www.youtube.com/watch?v=nuR9jzAGmbo]Raiders vs Broncos Live Streaming[/url][url=https://www.youtube.com/watch?v=PM6SdMLh5WE]Chiefs vs Chargers Live Streaming[/url][url=https://www.youtube.com/watch?v=z7HIXnBzMBY]Seahawks vs 49ers Live Streaming[/url]
↧
McMullin blasts 'authoritarian' Trump
↧
Top Dem Lawmaker Sees Bipartisan Support
[url=https://www.youtube.com/watch?v=Cg234rf9E7k]Packers vs Lions Live Streaming[/url][url=https://www.youtube.com/watch?v=7HVtfBnTqYQ]Green Bay Packers vs Detroit Lions Live Streaming[/url]
↧
↧
Schiff Warns of 'Vigorous' Response by Congress
[url=https://www.youtube.com/watch?v=spdhkjUzYRU]Falcons vs Saints Live Streaming[/url][url=https://www.youtube.com/watch?v=e4BZFJGYPkY]Redskins vs Giants Live Streaming[/url][url=https://www.youtube.com/watch?v=obY3oeB3_kQ]Rams vs Cardinals Live Streaming[/url][url=https://www.youtube.com/watch?v=nuR9jzAGmbo]Broncos vs Raiders Live Streaming[/url][url=https://www.youtube.com/watch?v=PM6SdMLh5WE]Chargers vs Chiefs Live Streaming[/url][url=https://www.youtube.com/watch?v=z7HIXnBzMBY]49ers vs Seahawks Live Streaming[/url]
↧
Exhibition games are almost exclusively
[url=http://wsau.com/events/event/community/14919/fox-broncos-vs-raiders-live-stream-nfl-week-17-online-02-jan-2017/]Broncos vs Raiders Live Streaming[/url]
↧
is allowed a maximum of 53 players on
[url=http://wsau.com/events/event/community/15037/snftv-packers-vs-lions-live-stream-week-17-sunday-night-footballnfl-1-jan-2017/]Packers vs Lions Live Streaming[/url]
↧
↧
Log waits
Dear All,I have a database which is causing job failure looking from the error logs, it states that the log wait should be checked and when checking the results are:Logwait description = backup Logwait = 2 The full backup was successful and also the transactionl log backup.Would anyone be able to let me know what else requires to be checked please?Thank you in advance!
↧
How to see index coding
Hi Experts ,sp_helptext view_name sp_helptext Procedure_name but how can i see index code :sp_helptext index_name --> i got error from this code
↧
Index usage
Hi,Is it possible to get last_user_seeks, scans, etc. for a specific partition aligned index? The following query only shows the seeks, scan for the whole index - I'd like it broken down by partition if possible.[code="sql"]SELECT prs.partition_number ,IDX.[name] AS [Index] ,fg.name AS 'FileGroupName' ,US.[user_seeks] ,US.[user_scans] ,US.[user_lookups] ,US.[user_updates] ,US.[last_user_seek] ,US.[last_user_scan] ,US.[last_user_lookup] ,US.[last_user_update]FROM [sys].[dm_db_index_usage_stats] USINNER JOIN [sys].[indexes] IDX ON IDX.[index_id] = US.[index_id] AND IDX.[object_id] = US.[object_id]INNER JOIN [sys].[dm_db_partition_stats] PRS ON PRS.[index_id] = US.[index_id] AND PRS.[object_id] = US.[object_id] INNER JOIN [sys].[databases] DB ON DB.[database_id] = US.database_idJOIN sys.partitions p ON idx.object_id=p.object_id AND idx.index_id=p.index_id AND prs.partition_number = p.partition_numberJOIN sys.partition_schemes schm ON idx.data_space_id = schm.data_space_idJOIN sys.partition_functions pf ON pf.function_id = schm.function_id LEFT JOIN sys.partition_range_values rv on rv.function_id = pf.function_id AND rv.boundary_id = p.partition_numberJOIN sys.allocation_units au ON au.container_id = p.hobt_id AND au.[type] = 1JOIN sys.filegroups fg ON fg.data_space_id = au.data_space_id WHERE db.name = 'xxxxx' AND OBJECT_NAME(IDX.[object_id]) = 'xxxx'ORDER BY PRS.partition_number ASC[/code]
↧
Question on Transaction Replication
HiWe have 10 databases on a server and I have a requirement to centralize the data into 1 database in realtime. I was looking at transactional replication and it works well, however, the source tables don't have any information to indicate a source name. So all the data from multiple databases doesn't have the source information to make sense of the data. Adding additional column to the source tables will fix the issue, but we have 250+ tables in each database and an application sitting on it, so adding the new columns will be a hassle.Do you have any suggestions?Thanks
↧
↧
query completed with error
when I run the folling script I get error in SQL 2008 [b]Message tab[/b] : Query completed with error DECLARE @TableName as sysnameDECLARE @ColName as sysnameDECLARE @SQL as nvarchar(4000)DECLARE PK_Max_cursor CURSOR FOR SELECT OBJECT_NAME(ic.OBJECT_ID) TableName, COL_NAME(ic.OBJECT_ID,ic.column_id) PrimaryKey FROM sys.indexes AS i INNER JOIN sys.index_columns AS ic ON i.OBJECT_ID = ic.OBJECT_ID AND i.index_id = ic.index_id WHERE i.is_primary_key = 1OPEN PK_Max_cursorFETCH NEXT FROM PK_Max_cursor INTO @TableName, @ColNameWHILE @@FETCH_STATUS = 0 BEGIN SET @SQL = N'SELECT ''' + @TableName + ''' TableName, ''' + @ColName + ''' PrimaryKey, MAX(' + @ColName + ') MaxValue FROM ' + @TableName EXEC sp_executesql @SQL FETCH NEXT FROM PK_Max_cursor INTO @TableName, @ColName END CLOSE PK_Max_cursorDEALLOCATE PK_Max_cursorIs there any issue in this script ?
↧
is allowed a maximum of 53 players on
[url=http://www.iequine.com/events/2017/01/penn-state-vs-usc-live-stream-ncaaf-rose-bowl-watch-online-2nd-jan-2017]Penn State vs USC Live Streaming[/url]
↧
Key principles of sport include that the result should
[url=http://www.iequine.com/events/2017/01/espn-rose-bowl-2017-li-ve-st-re-am-watch-2-jan-2017-penn-state-vs-usc-pasadena]Rose Bowl 2017 Live Streaming[/url]
↧
Rose Bowl will air on ESPN at 2:00 p.m. with online
[url=https://www.nso.upenn.edu/system/files/sktv-catch-the-ncaaf-game-online-live1-2-17-hd-free.pdf]Rose Bowl 2017 Live Streaming[/url][url=https://www.nso.upenn.edu/system/files/espn-tv-rose-bowl-2017-live-stream-usc-vs-penn-state-online-hd-tv_.pdf]Rose Bowl 2017 Live Streaming[/url][url=https://www.nso.upenn.edu/system/files/fox-penn-state-vs-usc-live-stream-rose-bowl-2017-online-hd-tv-telecast.pdf]Penn State vs USC Live Stream[/url][url=https://www.nso.upenn.edu/system/files/tv-trojans-usc-vs-penn-state-live-hd-guide-streaming-monday-02-januray-tonight.pdf]USC vs Penn State Live Streaming[/url]
↧
↧
How to see index coding
Hi Experts ,sp_helptext view_name sp_helptext Procedure_name but how can i see index code :sp_helptext index_name --> i got error from this code
↧
Index usage
Hi,Is it possible to get last_user_seeks, scans, etc. for a specific partition aligned index? The following query only shows the seeks, scan for the whole index - I'd like it broken down by partition if possible.[code="sql"]SELECT prs.partition_number ,IDX.[name] AS [Index] ,fg.name AS 'FileGroupName' ,US.[user_seeks] ,US.[user_scans] ,US.[user_lookups] ,US.[user_updates] ,US.[last_user_seek] ,US.[last_user_scan] ,US.[last_user_lookup] ,US.[last_user_update]FROM [sys].[dm_db_index_usage_stats] USINNER JOIN [sys].[indexes] IDX ON IDX.[index_id] = US.[index_id] AND IDX.[object_id] = US.[object_id]INNER JOIN [sys].[dm_db_partition_stats] PRS ON PRS.[index_id] = US.[index_id] AND PRS.[object_id] = US.[object_id] INNER JOIN [sys].[databases] DB ON DB.[database_id] = US.database_idJOIN sys.partitions p ON idx.object_id=p.object_id AND idx.index_id=p.index_id AND prs.partition_number = p.partition_numberJOIN sys.partition_schemes schm ON idx.data_space_id = schm.data_space_idJOIN sys.partition_functions pf ON pf.function_id = schm.function_id LEFT JOIN sys.partition_range_values rv on rv.function_id = pf.function_id AND rv.boundary_id = p.partition_numberJOIN sys.allocation_units au ON au.container_id = p.hobt_id AND au.[type] = 1JOIN sys.filegroups fg ON fg.data_space_id = au.data_space_id WHERE db.name = 'xxxxx' AND OBJECT_NAME(IDX.[object_id]) = 'xxxx'ORDER BY PRS.partition_number ASC[/code]
↧
Problem with data type when importing an Excel spreadsheet
3 global variables1. objMen, data type is object2 varID, data type is int323 varName, data type is stringExecute SQL Task setup as follows:1 result set - full result set2 connection type = Excel3 connection = conMgr4 sqlsource type = direct input5 sqlstatement = Select MentorNumber, MentorName from [Sheet1$] Under the result set tabset the Result Name to 0 and variable name to objMenSQL Task is connected to a foreach container- this setup is as follows:1 Under collection set the Enumerator to foreach ado enumerator2 ado object source variable to objMen3 Under the Variable Mapping-varID to index 0 and varName to index 2Script Task inside the foreach container- setup as follows:1 ReadOnlyVariables - varID and varName2 hit the edit script button - code is as follows: int mentorID = Convert.ToInt32(Dts.Variables["VarID"].Value); string mentorName = Convert.ToString(Dts.Variables["VarName"].Value); MessageBox.Show("ID is " + mentorID + "" + " Name is " + mentorName);When I run the package, MessageBox reads the first record but the ID is the varID default (0) andthen it does read the correct Name. So it is not reading the varID, hit ok button, it errors out, themessage is:The type of the value being assigned to variable "User::VarID" differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object.However, when I change the VarID to string, code in the script task from int to string, and change the Excel column ID to characters, ie "Seven" instead of "7", it works great.I do understand it is a data type issue. It seems like when I import it into my objMen from Excel it is notrecognizing it as an int. I have no idea how to correct this. Maybe I am missing a property setting somewhere.Any help will be very much appreciated.Thanks,rtp
↧
Eliminate Duplicates based on value
New to this board.... not sure if Access SQL is discussed here, but I need this answer to be resolved for Access SQL. I have a field that has 5 different values, for simplicity lets call them ValueA, ValueB, etc.So now for each ID im getting 5 records, one for each value. But all 5 values do not always exist.What I want is to say I want ValueA, and if it doesn't exist then ValueB, and if it doesn't exist then ValueC etc, so that for each ID I only return one entry.
↧
↧
Query Assistance
Hello all, It's been awhile since I've been on and I have something I can't wrap my head around. I've received help on something similar in the past so I know this can be done! I can do it with a cursor but am trying to avoid it if possible.Scenario: I have several job/tasks that can have multiple routes. The routes have different statuses. I want a list of jobs that do not have a JPRE or JPOS route, or if they do, status must be COMP or RJCT AND a JFB route status INIT or ASGN.Possible routes JFB, JPRE, JPOSRoute statuses INIT, ASGN, COMP, RJCT--Create temp tablecreate table #JobRoutes ( jobnbr varchar(8), tasknbr varchar(3), route_type varchar(4), route_status varchar(4))--Load tableinsert into #JobRoutes(jobnbr, tasknbr, route_type, route_status)values ('15512890','500','JFB','ASGN'),('15512890','500','JFB','ASGN'),('15512890','500','JFB','ASGN'),('15004362','295','JFB','ASGN'),('15003736','510','JFB','ASGN'),('15003736','510','JPRE','COMP'),('14512241','500','JPOS','INIT'),('14512241','500','JPOS','ASGN'),('14512241','500','JPRE','COMP'),('14512241','500','JFB','INIT'),('08400124','510','JPRE','COMP'),('08400124','510','JPOS','COMP'),('14508049','500','JPOS','COMP'),('14508049','500','JPOS','ASGN'),('14508049','500','JFB','ASGN'),('14508049','500','JPRE','COMP'),('14508049','500','JPOS','COMP'),('14508049','500','JPRE','COMP'),('12505660','500','JPRE','COMP'),('12505660','500','JPOS','ASGN'),('12505660','500','JFB','ASGN'),('12505660','500','JPRE','COMP'),('12505660','500','JPRE','COMP'),('12505660','500','JFB','ASGN'),('12505660','500','JPRE','COMP'),('09007856','520','JPOS','COMP'),('09007856','520','JPRE','COMP'),('09007856','520','JPRE','COMP'),('09007856','520','JFB','INIT'),('09007856','520','JPRE','COMP')Desired Result:jobnbr tasknbr15004362 29515003736 51009007856 52015507086 500TIA for any help/suggestions.Cosandra
↧
SSIS Package - sql task using stored procedure not populating all columns
Hi,I am having trouble with SSIS package which should insert rows from my Object named EmployeeList.I am not getting an error, but when it inserts into my table it only populates the EmpID column andnot the other 3 columns. It is looping correctly and I am getting all rows(only EmpID column) a total of 287, but no second, third, or fourth columns, they are blank. I put a breakpoint on the foreach loop andI am seeing the user variables being populated with the data from EmployeeList. So, has to be the mapping on the last sql task(one inside the container). Below is my setup of my packages.I must be missing something. Any help would be very much appreciated.Thanks,rtp1. sql task which populates my variable object called EmployeeList2. foreach container which will loop through the EmployeeList.3. Set up 4 user variables 1 EmpID int 2 FirstName string 3 LastName string 4 JobTitle string4. Set the above 4 variables to the variables mapping on the foreach container5. Another sql task inside the foreach container, set as follows Result is = none setup my connections SQL Statement = Exec EmployeesGreater15YearsServed ?, ?, ?, ? (Runs my stored Procedure) Parameter Mapping is: (here I also tried with the index number(0,1,2,3) instead of SP name variables) EmpID Input long @BusinessEntityID -1 FirstName Input nvarchar @FirstName 50 LastName Input nvarchar @LastName 50 JobTitle Input Nvarchar @JobTitle 506. Here is my stored procedureCreate Proc EmployeesGreater15YearsServed@BusinessEntityID int,@FirstName nvarchar(50),@LastName nvarchar(50),@JobTitle nvarchar(50)ASBeginInsert into EmployeesService15 (BusinessEntityID,FirstName,LastName,JobTitle)Values (@BusinessEntityID,@FirstName,@LastName,@JobTitle)End7. Table EmployeesService15 is design exactly like the Proc variables w/o the @ sign.
↧
Urgent: copy query result and paste to excel get messy result
This is my first time seeing this:I need to query a database on a remote server and copy down the result to my laptop.After I paste it (with header) to excel, the content is NOT the content on the query result, messed up.I cannot save it as csv and copy it out because of the current database/server setting.How could this happen?Any clue is highly appreciated.
↧