|
Here's a few of the new posts today on the forums. To see more, visit the forums.
SQL 2005 Cluster Problem
- Hi Guys,
I'm wondering if anyone can help me, i really don't wanto to reinstall one ofe the nodes in the...
ssis package not working with sql server agent but run fine manually
- I have setup job which run ssis package. In this job i pick data from oracle server with link server....
How can I find which certificate is used ?
- Experts,
Suppose a user gives a backup taken from one of the SQL server 2008 encrypted with TDE.
But user doesn't...
String or binary data would be truncated.
- I am getting error in below code:
SET NOCOUNT ON
CREATE TABLE #EVENTS (LOGDATE DATETIME, PROCESSINFO VARCHAR(50), VCHMESSAGE VARCHAR(800), SOURCE VARCHAR(20),...
Need help auditing
- Hi everyone,
Before I got to this new job, people were allowed to create many unused objects in our production...
Monitoring scheduled backup jobs
- Good afternoon,
Apologies for this long post but I would really appreciate some feedback on my approach to solving the following...
Restore Database Failed: 'Exclusive access could not be obtained because the database is in use.'
- Hi,
While trying to restore a database (with replace option), I am getting the below error -
Exclusive access could not be...
Reclaiming deleted but unused LOB space in SQL 2005
- Hi,
I've spent most of a day playing/wrestling with this, and my google searches have found lots of information but no...
SSIS Package with(Derived Column & Lookup)
- Hi All,
I have a SSIS package that has data in a table. I have a OLE DB Source to connect...
SSIS Pakage Error
- Executing SSIS package i am getting following error.
[Execute SQL Task] Error: Executing the query "exec proc_BusinessRulesValidation @UserName = ?,
@..." failed with the...
IIF or SWITCH Condition to use and how
- Hi,
I have a report where countrycode is a paramater and i need to show the date format as dd/MM/yyyy...
SQL Server 2005 64 bit vs 32 bit
- Hello to all. I have installed SQL Server 2005 Developer Edition and Visual Studio 2005 Standard Edition on my Windows...
when store procedure recompiled last time
- Hi There,
I am looking to find when is a specific store procedure recomplied last time. Reason to find this is...
Structure changes in tranasctional replication
-
I have Transactional replication setup between 2 SQL Server 2005 Servers.
I have made structure changes (add 2 columns) to...
How to increase indexes performance for fast queries results
- Hi All,
I have a table named "Tbl_Inv" in my database that contains 4.7 Lacs records with six non clustered indexes...
SSIS - OLE DB Source task Error
- I am using SSIS package to read the data from Access file and import them to SQL Server table. I...
Error while running a package through job that downloads files for SFTP server
- I created a package to download files from a SFTP server. This package, when run via Development Studio (BIDS), works...
Transfer Data from one database table to Another database table
-
Hi,
I have two databases – DBSample1,DBSample2
Both databases contains same table names(TabSample1 and TabSample11) and same design
Need to copy the...
SSIS - FTP TASK - DYNAMIC FILENAME
- Sorry guys, I'm really new to this. Can somebody tell me the easiest way to use the FTP task with...
previous figure
- i have a table with 3 columns. i want to get the salesamount for previous calcid for a perticular productid.below...
trailing space in len() problem
- hello all
shortly, this
[code="plain"]
declare @sqlStr varchar(max)
set @sqlStr = 'aa, '
print len(@sqlStr)
[/code]
returns 3 on one server and 4 on another...
if i try...
Remove Decimals Without Rounding
- How do I take a number like maybe 10.73 and remove the decimal place and making it a number like...
The log for database 'DBNAME' is not available.
- Hello,
I have a database problem since yesterday.
--------------------------------------------------------------------------------------------------------------------------------------------------
The error is:
-----------------------------------------------------
Message
The log for database 'DBNAME' is not available. Check the...
Unable to replicate in SQL Server 2000 using Transactional Replication
- 1. My database consists of 397 tables. Platform is SQL Server 2000 Enterprise Edition
2. While creating a publication using transactional...
Time Out Error When trying to Edit a Table
- I am running a procedure which includes some operations on X table.After couple of minutes I kill the execution of...
Query to find out latest data of each student
- I have data as below
Name--Month----Year--------Marks
A--------8--------2012--------80
A--------7--------2012--------88
A--------3--------2011--------70
B--------8--------2012--------80
B--------7--------2012--------88
B--------3--------2011--------70
C--------3--------2012--------80
C--------5--------2012--------88
C--------7--------2012--------70
I want result like this
Name--
SQL Compatabilty error
- Hi Guys,
Please help me on this, I have executed this SP EXEC sp_dbcmptlevel 'CDDB6', 100, before runing my Sql...
how to calculate percentage and count without passing parameter from this tables?
- here i am having four table
[code="sql"]
DECLARE @question table
(
QuestionId int,
Record uniqueidentifier,
indexnumber int,
questiondetail text,
IsActive bit
)
-- select...
Creating a view from 2 joined tables - inserting multiple lines
- Okay - my challenge today, is that I need to create some labels for a "Picking List" ( BOM ) - One lable per...
problem in displaying result from stored procedure to Frontend application
- Hi
I written a procedure to search hotel based on particular hotel name or based on a cityID. The procedure...
Deploy SQLS Database to a Produtiv-System
- Hi,
is there a guide or checklist for deploy SQL Server databases (2008/R2) after development and testing to a productiv/live platform?...
How can I find the first column having NULL values in a table
- Hi Friends,
I have a file reader function that will read the file and load the data into a temp table....
MEMORY AND TEMP TABLES
- I am using global temp tables in my store proc due to the requirement...After I run series of proc's my...
Query causing disk space issues
- OK, I'm out of ideas.
Rather than use an existing document management model, my company has decided to build their own....
subreport as per value in the main report
- I have two reports .One report shows data of top 10 handset in term of bar chart.another report shows detail...
Getting login failed error when trying to run sql agent jobs after failback or failover
- Hello All,
I am using SQL Server 2008 R2 SE. For HA I am using double take. The source and target...
Sample XML File to Import to SQL
- Hi all
Where can I get a sample XML file to test importing to SQL via SSIS.
Thanks in advance.
Aggregating query help
- I have a table of possible trip routes like the following:
[code="sql"]
ID RouteID RouteName Origin Destination
1 1 ReturnTrip A B
2 1...
SQL Transactional Replication 2008 problems
- Hi, i need help urgently on this one.
I have transactional replication in place between two servers. These db's are rather...
Unable to connect to SQL Server 2008 Clinet system from Windows7
- hi all,
I try login to my client system sql server using Sql Server Client Management Studio 2008 wit Windows 7....
Stored Procedure Insert Locking Until End of Processing
- Hi, I have been trying to get the stored proc below to not lock dbo.some_table during the waitfor delay portion....
Selecting a substring up to a specific (special) character
- OK, so I would like to write a query that pulls info after a certain number of underscores. For example:
I...
Query result in SQL Server 2000 return correct and SQL Server 2008 R2 SP2 return wrong
- Hello,
We have a problem in the query within the attached file. When I run in sql server 2000 it...
rebuilding indexes
- 1. Does index rebuild on a partitioned aligned index for an individual partition causes any locks on other partitions?
2....
sql service restarted unexpectedly
- hello experts,
in my production server sql service restarted unexpectedly, the concern teams are asking for root cause analysis doc for...
new to DBA an dtechnology
- Hi all,
I am new to technology world, been in customer support, planing to move to technology, been thinking of doing...
Copy results, update a few fields, reinsert
- I'm trying to find an easier way of doing the following: We have a batch file that processes records into...
Display Estimated Execution Time - Client Execution Time
- I am currently learing about query optimization. Can someone tell me how to interpret within "Display Estimated Execution Time" the...
Odd Error Message
- Morning
Just going throught my 2012 SSMS to a 2008r2 server, and I got the following error message, which I've never...
Best way to run high number of transactions concurrently
- Hi,
I have been asked to see if our new database system is up to handling a high load and...
TSQL Suggestion: Support GROUP_CONCAT
- Please vote:
https://connect.microsoft.com/SQLServer/feedback/details/764820/support-group-concat-aggregation-function
row_number replacement
- Hi friends,
I have created temp table with row_number() since i need the latest loanumber with step
Create Table #Max_step
(
Loan_number varchar(10),
FID...
Consolidate Overlapping Date Periods
- Getting late in the day and I could use some support from those who are feeling fresh! :-)
Suppose I have...
varchar to time or datetime or ARGGHH Please help me.
- I have a datetime (your standard yyyy-mm-dd hh:mm:ss) column and a varchar column that holds an appt time that looks...
Is there any best way to REPLACE the query?
- Hi there,
I have a below query which needs to replace the label to actual value. I can do this by...
T-SQL query help
- Hi..
I have data the data in the below temp table(SQL query)
[code="sql"]IF object_id('TempDB..#tTemp1') IS NOT NULL
DROP TABLE #tTemp1
CREATE TABLE #tTemp1(ID int,...
Need Help on User Tree Hierarchy with Addition/Deletion Option
- Hello All,
I have situation where if user pass the userid then their respective hierarchy display.Here is SP
CREATE PROCEDURE TraverseUsersRecursive
@UserId...
Oracle Driver Mania
- We recently migrated our primary server to Win Server 2008 R2 and SQL Server 2008. It is an OLAP system...
Query Help
- Hi All
I have 2 tables.
Table 1 MasterDefects
Field1: Department
Field2: Process
Field3: Type
Field4: Defect
Table 2 Results
Field1: Department
Field2: Process
Field3: Type
Field4: Defect
Field5: ShiftID
Field6: SizeID
Field7: Amount
Field8:...
bcp a pipe delimited file
-
hi all,
i want to import a flat file of type
Employee ID|Employee Name;
134543543|asdfasdfdsfdf;
inside a sql proc
As bcp requires the destination table...
Problem with Grouping and max()
-
Basically the data is access data to a building. I want to establish if the person is in or out...
How Do You Keep The "Pieces" Of A Complex Statement "Organized"
- I just finished a complex SQL statement; and, yes, I know there are even more complex ones.
When I am faced...
Using Access to put data into SQL Server
- Hello everyone. So I have a database in SQL Server 2008 that contains 5 tables. I have connected Microsoft Access...
Compresses Backup
- As the volume of data is less and Database is around 10 GB, here they prefer taking Full Backup on...
Script to Backup SQL Server Log Files
- Hi All,
Need assistance in creating a script for the below requirement.
Any assistance to satisfy this requirement will be greatly...
LOGSHIPPING RE-ESTABLISHMENT
- Hi,
I want to understand the Logshipping reestablishment Scenerio After a Failover.Below Mentioned are the details of the Environment for the...
Index !!!!
- Now Daily at morning 6:00 am the server (Database) does not have any transactions.. i mean its on IDLE state...
Replication
- After setting up Replication (Transactional Publication with updatable Subscription)
between two instances one instance being both Distributor and Publisher, with...
Mgt Studio can see & login to other servers but not (local)
- Built a new Windows 2008 R2 x64 server, and installed SQL Server 2008 on it, as a test version of...
The distribution agent failed to create temporary files
- Hi
I'm getting this error with a transactional replication setup on SQL 2008R2 Standard (SP1):
The distribution agent failed to create...
Need a Memory Utilization alert SQL Server 2008 r2
- I Need a Memory Utilization alert SQL Server 2008 r2. I am not sure which alert in sql server will...
SQL Disk to Memory
- Hi all
I have a quick question regarding pages moving from disk into memory
If I select * from a table, are all...
Fantasy football 2012
- Only 2.5 short months to football, can you believe it? I'm not ready, hardly feels like it's summer time yet.
You...
Front End Dev
- HI all,
I'm very happy in my SQL world with all the tools MS give me.
Just sometimes somebody wants a...
Talking baseball
- Okay, a topic that has NOTHING to do with SQL . . .
Came across [url=http://www.sqlservercentral.com/Forums/Topic447796-4-1.aspx]this link[/url] describing the SSC point scoring descriptions,...
Today's Random Word!
- HI
When you woke up today, or logged-onto Opera Forums, you may have had a dream, a thought, a scene...
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...
can't access localhost/reports/pages/folder.aspx
- Hi,
I have a SQL-Server 2012 Developer Edition on a 32-bit-notebook. Ising IE9 I get a login window when connecting to...
Data driven subscription to fileshare
- Hi,
I am new to ssrs and need to create a data driven subscription to a fileshare for a report.
What...
ExecutionLogStorage table and Subscriptions table
- Is there a way to get only the ExecutionLogStorage rows that correspond to a particular subscription in the Subscriptions table?
I'd...
SSRS 2012 in Sharepoint Integrated Date problem
- Hello all, Hope you can help me out. Scenario;
SSRS 2012 in Sharepoint Foundation 2010. Basic select between two dates...
Invalid Semantic Model
- Hello,
I got the following error while trying to create a report model:
The semantic model is not valid. Details: The element...
Reshedule SSIS Package & get back data on Package Failure
- [font="Courier New"]Hi All,
I have scheduled SQL Job composed of several steps My first task is to get customer data from...
SSIS - OLE DB Source task Error
- I am using SSIS package to read the data from Access file and import them to SQL Server table. I...
Memory allocation for SSIS variable
- I'm having a problem with an SSIS variable.
The variable is defined as data type object. I'm writing an ADO record...
dynamic columns in flat file destination connection manager?
- Hello,
In a large database I wish to extract text files with the data from individual tables as well generate the...
Run Excel Macros from SSIS
- Hi
Does any one know how to execute an Excel Macro from SSIS. I have been reading about it but...
Show Right Column to Right User
- If I have three different user with different occupation (manager, salesman, accounting)
The main question is to how display right column...
|