|
Here's a few of the new posts today on the forums. To see more, visit the forums.
Am I running sql2012 SP1?
- Hi,
This sounds strange, but I have evidences from either side.
My SSMS Object Explorer reads SQL Server 11.0.2100.60, same...
Jobs logged in the "Job Activity Monitor" but not in the "View History"
-
SQL Server 2005 Enterprise Ed,
Hi guys,
I have the following issue:
There are some jobs running successfully. The execution is reported in...
SQL Server 2005 SP4
- Hi
I have few SQL 2005 with SP4.What is the mandatory Cumulative update or hotfix need to be applied
Akkare
DB in suspect mode
- What internally happens if db goes in suspect mode ?
Problem with SSIS job running in SQL Agent
- I'm new in BI and technology in general so bear with me. I completed a lot of work in our...
How to insert new record for a user having multiple records by performing lookup?
- Hi,
I have one table called Student. The source for loading the table is StudentHistory.
My Scenario is i have a single...
Sql Server Reporting services error "Operation is not valid due to the current state of the object"
- Hi,
Am getting error like "Operation is not valid due to the current state of the object" when i pass the...
linked server to transfer info from mssql to mysql
- I made a linked server (as descriped) but I get the following error,
Msg 7399, Level 16, State 1, Line...
What Do You Call This Relationship ?
- I have a situation with items that are related, but not really in a heirarchy ... more like parent to parent....
Trouble Importing CSV. "Truncation" despite Varchar(max)
- I'm trying to import a .csv file. One column has text from a website comment filed, so there are all...
Mirroring and performance
- hi, anyone know how to maintain the performance of database while mirroring. Because we notice that the system become slower...
Event ID 11 "There are multiple accounts with name MSSQLSvc/..."
- I'm seeing this event in my domain system event logs:
EventID : 11
There are multiple accounts with name MSSQLSvc/server1.domain.com:1433 of type DS_SERVICE_PRINCIPAL_NAME.
EventID...
Client-Side Tracing: How?
- Hi,
Is there a way to do client-side tracing of the SQL commands being sent from a client box to a...
Query Cost
- Hi Team,
As per my knowledge "Query Cost is a measure of the CPU and input-output resources used by the query"
but...
How to Use SQL Profiler
- Hi,
I want to trace all sql,stored proc with sql server profiler. So that I may able to extract top resource...
Automating Excel via SSIS and SQL Agent
- Hi
I have encountered an issue on a project that I'm rather struggling with and I'm hoping someone has encountered something...
OLE DB Source -- SQL Command performance?
- The following question is based on my zero-understanding of how SSIS performs regarding the use of server memory.
Does someone know...
windows file system operation
- I am working on windows server 2003.
I have a file 'target.file' at local. There is a 'target' folder on network...
Delete column from multiple (hundreds) of tables
- Hi,
I have a rather large number of tables made using a (fairly) standard template. Due to a compatibility issue with...
Slow Recursive CTE
- Hi All
I am using a CTE query for recording a list of purchase order numbers separated by a comma for...
Restore Transaction Log Error: database not in NORECOVERY/STANDBY mode
- Although I have been using SQL Server for many years, I am merely a database developer and extremely green at...
DTS to import Data from excel
- Hi,
I have one excel that has data like this:
ADM14021360066,208930705 502151 Abraçadeiras Plasticas Wurth 280x4,8 UN 1000.1 NOVO 200 Camião
ADM14021360066,208930706 502161 Abraçadeiras Plasticas Wurth 360x4,8 UN 1000.1 NOVO 300 Camião
ADM14021360066,208930707 2 Barra Reparação Magnum UN 1000.1 NOVO 2 Camião
ADM14021360066,208930708 3 Bicos Cola UN 1000.1 NOVO 70 Camião
ADM14021360066,20
How to import Oracle dmp file into SQL Server 2000 or 2005?
- Hi, Gurus
Q for you.. I have a .dmp file that has been created by Oracle. I want to import this...
Help - Can't query a single table
- Hi All,
I have a table in SQL Server 2000 that cannot be queried. Even a simple "select count(*) from dbo_tblAllocations"...
Where to push-pin the object explorer?
- It's a silly question but I couldn't find a answer, I don't know what quick key I touched but the...
SSRS - changing the rendering of the print control?
- I haven't started any research into this, just curious if anyone else has tried this. Is it possible to change...
How to script profiler trace to save results to a table ?
- Hi all,
I created a trace in Profiler GUI. I set it to save results to a table and it is...
Max meomory setting vs task manager
- Sql production box has 108 GB RAM i allocated Max memory 100 GB for sql server ,in task manager i...
Query Help
- Hello Everyone
I have one task
I need to do pivoting
[code="sql"]
create table #Temp1
(
iSchoolYearCode int,
dtCalendarDay datetime,
iCalendarDatCategoryID int,
vcCalendarCategoryCode varchar(25)
)
insert into #Temp1 values (2012,'2012-08-30...
Runnable query - waiting for what?
- I have a query (basically a SELECT ... INTO tmp_table FROM .... (more than 100 joins in here).
Its status is "runnable" - CPUTime...
Finding min using over(order by) in sql server
- Hi All,
I am trying to write a sql to find the minimum of a dataset
i am using sql server.
select ST.BG_DTTM
,MIN(ST.BG_DTTM)...
Permissions issue upon a restore
- Every now and then when we restore production databases in development environment we get a few emails from developers complaining...
table value functions
- i am passing table from C# to sql.
on sql this is my code :
[code="sql"]
CREATE TYPE [dbo].[CampaignIdList] AS TABLE(
[BLMJ] NVARCHAR(50)...
error in bulk copy
- Hi
I want to test some changes in the structure of a table and see the plan,I exported the data in...
Error reading a csv (already open in Excel) using SSIS
- hi,
I'm loading data into a table from a csv file using a data flow task.
If the file is already open...
Date in BCP out file name
- Hi,
How can I insert current date in BCP out file name?
I use this command, in SQL JOB step (type: Operating...
Cant create persisted computed column on a table
- Hi Everyone,
I am trying to add a computed column as -
alter table MyTable add ComputeCol1 AS (Calc(col1) persisted
When I executed...
Extended Events for counting execution of Stored Proc
- With my limited knowledge of extended events, I wrote the following:
[code="sql"]IF EXISTS(SELECT * FROM sys.server_event_sessions WHERE name='ExecCount_SPName')
DROP EVENT SESSION ExecCount_SPName...
SSIS Transfer Objects Task Problem with Check Constraints
- I'm trying to develop a simple SSIS (2008) package that will be used to copy all the objects from a...
SSIS Text qualifier question
- I'm trying to replace an existing function with an SSIS package. Rows are exported to a comma delimited flat file...
CMS Query Error Suppression
- I'm not sure if there is a specific ability in queries against server groups or if there is something more...
datatype for such a long integer
-
Hi
I got a dataset from somewhere which I have to store in sql server. It has one column which consists...
error while installing sql server 2008 r2 express in a windows 8 pc
- I was trying to install sql server 2008 R2 in windows 8 pc.
First i installed sql server 2008 r2 by...
Really Strange
- Hello Everyone
I hope that your day has been better than mine.
I have been working most of the day with a...
SQL Server 2008 cluster upgrade
- Hi Team,
We have SQL Server 2008 active-passive cluster. We got requirement to upgrade it SQL Server 2008 R2.
Can you...
Waring alters when the database (files MDF, NDF & LDF) reaching the MAX size.
- HI Frnds,
I need help on setting up alters when the database (files MDF, NDF & LDF) reaching the MAX size....
Display on Month and Year from date formula ??
- Hi,
I want to display only MM/YY from the formula of @enddate -21??
Thanks
How to rectify the mistake of specifying wrong path in Alter database <db name> modify file... command
- I was trying to learn the movement of system databases from one drive to another. i satarted with msdb,model and...
PREEMPTIVE_OS_FILEOPS
- I have a job configured to run a DBCC CHECKDB on all of the databases on my server every 2...
xp_cmdshell access denied to desktop file when logged as administrator - why ?
- I am logged in as an administrator and each time i run the following query
exec master.dbo.xp_cmdshell 'dir c:\users\administrator.mydomainname\desktop\resumes\*.*'
I get...
Find Row Number Based on Column Information
- Hey Guys,
I'm trying to find the ItemCode of the TreeType 'S' Above the Line that I'm running the query...
Grouping sets
- Hi All,
how to use the groupingsets to a query having more than 32 columns
plz help out
Finding min using over(order by) in sql server
- Hi All,
I am trying to write a sql to find the minimum of a dataset
select ST.BG_DTTM
,MIN(ST.BG_DTTM) over(ORDER BY ST.BG_DTTM) AS...
How to compare parent child data in SQL
- Hi;
I have two SQL tables like below;
[CODE]T1: relationID, meterID, parentID, childID
T2: dataID, meterID, date, amount[/CODE]
Sample data of tables;
[CODE] T1 T2
-----------------...
Loading T-SQL Statements from a database
- I want to call all of my heading from table A and call my select statements from Table B.
TABLE A
ID...
TSQL Help
- Hi all,
Need some help in writing a query for the below scenario. I have two table with start and end...
Get distinct values into single column
- Hi -
I am having trouble writing a query to get the distinct values of a column grouping into a single...
Issue with crypt_gen_random
- This is my scalar function, which returns numbers between @min and @max (both included):
[code]
create function GetRandom(@min int, @max int)
returns int
as
begin
declare...
it takes too long to insert data to different tables
-
I was trying to dump data from a Temp table to 4 different tables (Computers, ComputerInfo, Vulnerabilities, and AuditInfo) in...
Clustered indexed primary key not in asc order when selected
- Hi All,
I have a table that has a primary key which is a clustered index.
However when I select data based...
Creating a Ref Number usning letters and numbers.
- I have a column on my database called Booking Number this is to be used on correspondence etc however I...
Creating a BookingDate using a random function
- I have an arrival date already in the system and I need to populate the Booking date using a random...
Delete taking time due to foreign keys
- Dear All
We have a base table and 10 other tables related with foreign keys to this. One of the foreign...
Update query will not run?
- The following query gives me a random date between 1 and 28 days after the arrival date:
SELECT ArrivalDate, DATEADD(day, 1...
Max Server Memory
- We just took over a small network with 2k3 running Sql 2005. We virtualized it, per customer requirement, and seeing...
table `forums` where register threads
- table `forums` where register threads
Hello everyone.
Thanks all in advance for any help and suggestions.
I've the table `forums` where register threads,...
Count by 30 min interval query
- I need help in querying a table for volume by 30 minute interval by day month by month.
Table dbo.HisT contained...
Script Logins
- Hi All
Is there any way to script out all the Logins on a SQL Server instance, including server level privileges,...
Login Auditing
- I have been asked to provide documentation on where SQL Server displays messages for login auditing. We set the auditing...
MSSQL Server is not Active
- Hi All,
I had a ticket with the following message:
MSSQL Server is not Active Or ITM6 monitoring agent datacollection has been...
Monitoring SQL database
- I've got a database in production, which is growing on it's own about 1 GB an hour. The database is...
Physical reads
- I am a little confused about the concept of physical reads:
In Extended event, I add an event, and filter by...
DBCC consistency error
- Hi Team
Last week we run dbcc command on few databases and found the below consistency errors in the database ,no...
Net Send alert
- Dear Experts
What is the net send alert error, how it works,
Thanks lot
log restore to new db name
- I have restored a database to a new name. The original name is forms. The new database is forms_scott(Restoring). When...
SQL Cluster Gateway Info Lost on Node Move or Failure Simulation
- Hello All,
First time poster so if this has been asked, please forgive. I have searched the forums but didn't find...
VMWare Virtual SQL Server Administration
- I need to find out what the concensus is on virtualizing SQL server.
I know that VMWare reports the more processors...
SSIS ForEach Loop Container - loop through all DB's
- I am trying to get the FELC to loop through all the databases for my sql server. I want to...
DBCC 802 error
- Hello guys,
one of my customer reported 802 error in his server. Could you help me how to track circumstances leading...
Differential backups rendered useless by backup device
- This is my situation. Hope someone can give some advice.
I created a maintenance plan for a production database that takes...
advice on how to promote my skillset?
- Hi everybody,
I didn't really know where to post this question, but I guess this sub-forum could do. I apologise in...
Are the posted questions getting worse?
- Is it me, or are the posted questions getting worse these days?
I just read a post by someone apparently in...
SSRS Parameters - Autocomplete
-
Hi geniuses!
It is possible to have the autocomplete features in a SSRS report parameter?
Thanks in advance!
Best Regards!
Export to PDF problem from Report manager
- The report exports to pdf from Visual studio but when trying to export from Report manager it throws an error....
but can they replace SSRS?
- Do you know of alternatives to row and column quantitative reporting besides Qlikview and Tableau? I think both are smashing...
Hiding the Show/Hide details button on the Report Server
- Although you can make a folder invisible in the view list, if you click on show details, the folder shows...
Policy database Design
- i have enclosed here sheet which contains column's list . can anybody help how can i seggregate them into different tables...
Can I use transactions for non database related control flow tasks
- Guys,
I have a package that has two tasks. The first is an SQL task which updates two tables (batch headers...
Prevent flat file from being written (SSIS 2008r2)
- SO In the project I'm working I'm importing csv files from a dynamic map to a database.
As an extra feauture...
Restricting Data before using OLE DB Destination
- I just used the unpivot tool. So now I have more columns than I need. I know how to map...
Looking for a way to move files from a dynamic source location to another dynamic archive location
- I got the following situation:
A database with a settings table and archive tables.
(In the setting table we store the location...
script task
- Hi All,
i have been using ssis for few years now
i have used most of the components/task but never script task
i...
Related measures
- I have two related tables in my DSV. The first table called Test has a primary key column called test_id...
|