|
Here's a few of the new posts today on the forums. To see more, visit the forums.
SP - output confusion?
- Hello,
we have a SP which in turn calls 2 sp's.
because of one sp output data got updated wrongly .
but when...
collation conflict between "Latin1_General_CI_AS_KS_WS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
-
Hi,
We have sql server 2005 reporting services on server A & its databases on Server B. I'm seeing the below error...
High Log flush time???
- Hi,
We are using Spot light for Monitoring SQL Server 2005 and we are getting the below error frequently.
What this error...
Mirroring In sql server 2005- Witness Full Quorum
- Hi All,
I have established a Synchronous mirroring with witness ( to achieve automatic failover), I am getting all the configuration perfectly...
Backup file HUGE compared to DB size
- Hi Guys,
Have a strange one...
Found a job running on one of my servers. Job did a full backup of...
Export top(n) rows from Excel
- Hi,
I am trying to export only top (100) rows from an excel source. I added the excel file to the...
Date Issue
- I have a problem with dates
Problem: There is a master table which defines the date based on range as follows
[sup]
[b][From][/b] [b][To] [/b] [b][ResultDate][/b]
'1st...
Producing dates from SYSJOBS and SYSJOBHISTORY
- Hi all
I recently decided to start to report on durations of jobs that I have scheduled on my SQL 2005...
Delete Using join in min 3 tables
- Can any one plz tell me how to delete records from minimum 3 tables using inner join on the basis...
Please excuse and delete the dups
- feeling like a n00b.
:-(
SQL Authentication login weirdness...
- Forgive me upfront for not supplying a snapshot of this issue, but here is what happened. I tried to log...
SQL Authentication login weirdness...
- Forgive me upfront for not supplying a snapshot of this issue, but here is what happened. I tried to log...
SQL Authentication login weirdness...
- Forgive me upfront for not supplying a snapshot of this issue, but here is what happened. I tried to log...
Want to remove an existing user mapping for a login.
- In SQL Server 2012, I want to remove (programmatically in C# or via SQL command line) a login mapping to...
Best Maintenance Plan
- Hi,
I am currently tasked with an incident to optimize the current MP that we are running on one of our...
Question about included columns in nonclustered indexes: Where exactly are they stored?
- I figured an indexing question would best be answered by folks who focus on performance tuning, if there was a...
rolling back data in SSIS package
- Hi, I have an SSIS 2008 package which will call a stored procedure and store the data into a variable...
how to use substring to get the values in bold
- Hello All,
Could you please tell me how to get the value after 'between', before 'and' i.e., BOKSAM KAND LAMOG also...
Alternate way for SELF JOIN
- Hi All,
I have a table like below.
create table fund(
fund_id integer primary key not null,
name varchar(100) not null,
short_name...
Query to tell when Isolation level was set...
- Hi -
I need a way to find out when an isolation level was last set on a database (or originally...
Stored Proc - Nullable Parameters for optional filtering - handling LinkTable LEFT JOINs
- Hey all,
Pretty long title, but the problem itself is fairly simple to explain. Suppose I have the following tables:
[code]
CREATE TABLE...
SSIS Script Task
- Can anyone help me with adding log in information to a script task which goes to a webpage?
The current...
automate t-sql
- I'm not an expert at T-SQL, so I hope someone can help me automate this.
Currently, I'm doing this manually by...
Remove Duplicated row on a iseries table
- I have a table similar to below
Customer Referencedate card_number created_by
John 112233451 2008-02-01 48001796 Sen
John 112233451 2008-02-01 48001796 Sen
Eddy 123565654 2008-03-26 48001799 Mark
Mary 124578128 2009-10-27 48001850 Mark
From the above table I need to remove all duplicated rows leaving...
Database is stored on multiple volumes
- Hi,
In our production box, I got an alarm saying " Alarm Details: SQLWRITER: [24579] Sqllib error: Database XXXXXX of SQL server...
export all table to excel with header using bcp
- Hi,
I'm tring to export all table to xls file with header , I'm using the following code its working fine...
To OTAP or not to OTAP?
- Currently I am working in an organization, where development and production databases reside in the same SQL Server instance. The...
Transaction log file increases abnormally after replication
- Dear,
1. I have implemented snapshot replication on my database. My database size is 2 GB. I scheduled snapshot agent to...
Merging the rows
- The Output result set is coming as
Column
-------------------------
a-1 (row 1)
b-91e25b15-(row 2)
c-66364531(row 3)
expected output required(all rows needs to merged into single row)
a-1...
www.jumpmanbiz.com SDEE5566
-
It is so lucky for women since there is no lack of styles when it comes to Trendy Christian Audigier....
www.jumpmanbiz.com SDEWE3633
-
It is so lucky for women since there is no lack of styles when it comes to Trendy Christian Audigier....
What is DCEXEC?
- As the question. It is used in an SQLAgent job. Googling links it to SSIS execution, but no explanation AFAI...
!!! Database server slowing down
- I have a vb.net application using SQL database,
I have installed SQL Server 2008 on Server but server does not perform...
Update on an ADO Dataset that is linked to a view
- Hi,
I have a table in my DB that has my Product information. this table has a tree structure (each record...
setup maximum and minimum memory
- I have a dedicated SQl server that has 12 gb physical memory.
I manually change the default max memory to 8.5...
SQL Server 2005 Cluster - Removing / Rebuilding / Adding Node
- We have a two node SQL Server 2005 SP2 cluster, Running Windows Server 2003 SP1. My company implemented a new...
size of LOB data 41GB smaller after BACKUP/RESTORE
- Hi everyone,
Maybe someone more experienced than I can explain this to me.
Made a backup of our largest production database,...
Problem when using a User Defined Function in a SET loop
- I am using SQL Server 2008 R2. I created a User Defined Function like this:
[quote]
CREATE FUNCTION [dbo].[Custom_StringToTableWithID]
(
@string VARCHAR(MAX),
@delimiter...
Using Full-Text Search
- Hi,
I am quering a big table (about 150,000 rows) with a big varchar field (size 2000) which can't be indexed...
Time out in insert statement
- Hi every body
I have a large table (270 G) and i only have insert and select statement over this table....
SQL Search Query
- hello,
right now on my search page the sql query i am using is similar to:
select * from table where name like...
query taking long time for execution inthis case what should i do
- hi all
1. application team complaining that queries are executing slow and want reason for that in this case what should...
SQL Server instance is taking 100% CPU and is very slow
- Hi,
SQL Server instance is taking 100% cpu. I tried to find the active sessions using sp_who2 'active' and I got...
Restore 1.9T on SQL 2008
- Hi guys,
Need urgent help..
I am restoring 1.9T from multiple backup files, the restore was doing 10% an hour until it...
Keeping track of the number of times a record appears in query results
- Goal: I have a web site for people to search for doctors. For marketing purposes for doctors, in my stored...
Loading data from Exel 2007 file
- I can not access an excel file that has no permission issues.
I have SQL Server 2008 R2 installed on a...
Is there a smarter way than a cursor for this?
- Hi all,
I'm migrating some data due to software improvements. We have about 25k surveys, each with around 3 questions on...
Query Optimization
- Hi guys,
I have one query which is listed below which takes 5hrs mininum to execute it.. please help me on...
Dependent Delete statements
- i need to delete the records from a table with multiple conditions , like below first i am clearing non numeric...
SQL IO Performance
- I'm running out of brain cells trying to figure out what I've overlooked. Hoping someone has a quick checklist of...
Connection Manager Error
- Hi all,
I've created a very simple SSIS package where I'm trying to convert an excel spreadsheet into a flat file....
how to avoid duplictae records of column in a table in a select query in this proc?
- here iam having two table @companytable and @boardtable in the @boardtable table will have foreign key of companyid from @companytable...
sql server 2008
- HI, WHEN I SELECT SQL SERVER CONFIGURATION MANAGER AND SELECT SQL SERVER SERVICES IN THE LEFT PORTION AND IN THE...
Which information can i log when i use Change Data Capture
- Hi
When i use change data capture can i log hostname,username information?
Updation
- I have a table proceduremaster in which I need to update ParentProcedureID on basis of procedurecode and procedureID.
create table proceduremaster
(...
Full Database Backup with no truncate
- Hello!
I need write tsql statement for full database backup without truncate log
Please Help
TSQL Split XML attributes
- I have an xml string and need to manipulate it within sql.
[code="xml"]
<RuleData ReturnVariable="">
<MateProperties>
<Property Key="value" DisplayName="name value" />
<Property...
Get Records according to dataset.
- Hello Expert !
I have a CTE Query but I have nothing concepts about it. And I am new in programming....
xml data type vs several records
- Hello
I am trying to save student answers to questions in a quiz I am looking for best performance and...
Convert values of mulitiple rows into single column with no duplicate entries
- hi all,
i went through the forum and found out a way of concatenating row values into column using stuff, but...
how to remove characters char(0) to char(31)
- Hi there,
Sometimes customers add data with unwanted characters in the ascii range 0 to 31. How do I remove them?...
Avoiding IF/ELSE
- --I believe the DDL and my commented out notes and questions should explain what I am hoping to achieve
CREATE TABLE...
Avoiding cursor: Help with getting only first match after previous match
- Hi I'm sure there is a better name for this problem, and its probably quite a common one with a...
Need an Efficient Way to Rank Rows with Some Rows Having the Same Rank
- Does anyone have a suggeston on the most efficient way to do this ranking? I need to add an incremental...
No record count in PIVOT
- Hi,
I have the following query to count the number of employees per costcenter using the pivot command.
The @Columns parameter declares...
String Function Help
- Hello,
Total Newbie to SQL Server, so pardon any non synchronous sql lingo.
In a table, i have column "IP Address"
which has...
New DBA job, done some digging on Database and have some concerns!
- I've recently started a Job at company working as the sole DBA. I come from a .net developer background and...
List Features installed
- hi all,
Does anyone have a way to list the features installed on an instance? At present all i can...
Alternative to views
- Databases in our servers communicate with each other using views. For instance, dbA has views that gets data from db2...
html from sql server 2K8R2
- Hi all,
I am trying to generate an HTML-formated email from sql server. I need to be able to control the...
Getting variable name from cursor as part of query results
- Before you chastise me on not doing cursors, since I scanned articles before submitting this request, I know cursors are...
Mirroring configure HA and DR
- Hi,
Database have been configured High availability in same datacenter by using database mirroring..
For the anohter requirement the same principal database...
SQL SP/CU taking HOURS on Multi-Node Multi-Instance Cluster
- We need to install SQL SP2 and CU1 at multiple sites on SQL/WIN 2008r2 EE clusters with 5 nodes, 22...
SSMS Job Creation/Editing Error
- My SQL Server Version is given below (Production Environment).
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64) Apr 22 2011 19:23:43...
backup/restore process
- Hi,
Hi,
Our business can afford to loose data up-to one hour.
So in-case of say if a table is dropped or a...
Policy Based management script?
- Is there a tsql script that can give me details (name, condition, created by etc) of all the policies created...
have a job step execute a job on another server
- i need the last step of a job to execute a job on another server. Can someone post that command?
Thanks
SQL Server Backups
- This is more of a poll but I'd like to get others opinions. What is the recommend and preferred methods...
SQL Server Agent Powershell Subsystem with only 2 worker threads
- My Sql Server Agent can only run two powershell jobsteps at one time which apparently is caused by the max_worker_threads...
Returning Multiple Unrelated Tables in Single XML Output From Stored Proc
- Hi There,
I'm quite inexperienced in returning XML from SQL and have only been using single tables to return normal XML...
Get SQL Query Results as E-Mail
- Gurus, I am trying to write a code to send out list of failed jobs in the last 24 hours....
DOT.NET Data Reader
- Is there any documentation about the inner workings of the DOT.NET data reader. I mean Sstep by Painful Step.
I am...
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...
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...
Scheduling the SSRS Report from SP
- How can we subscribe the SSRS report from a Stored Procedure
Preserve SSRS formatting when exporting to Excel
- I'm pretty sure SSRS doesn't do this on its own, but I was wondering if someone could help me find...
Advanced group design
- Hi All
I ask you guidance on this design question because this seems to be one of those things where if...
Lots of Key Lookups vs. UniqueIdentifier Clustered Index
- Hello.
I'm working on a system that was originally designed with UUID (uniqueIdentifier) clustered indexes.
Later the clustered indexes were rebuilt on...
error when creating SSIS Packages
- Hi
i have a task to develop SSIS packages, i've installed SQL Server 2008 R2 Developer and installed Intergration Services but...
What is the best isolation level
- Could you tell me , Which is best isolation level for SSIS and T- SQL ?
anyone advice me..
Thanks
solomon
MDX to fill listbox
- Hi,
I'm using an MDX statement to fill a listbox with available dates:
Current statement is
SELECT
NON EMPTY [Period].[Period by Financial...
trying to insert several csv files into a db table using a ssis package
- I have several .csv files and i'm trying to insert them into a database table.
all my files are saved from...
|