Viewing 15 posts - 346 through 360 (of 616 total)
Glad to help and welcome to SQL Server Central 😉
February 12, 2013 at 5:59 am
Not really.... it's just about getting SQL Server and the OS to work without one starving the other out of memory.
What numbers you choose depend on how much RAM you...
February 12, 2013 at 5:37 am
select b.val
from @tbl1 as a
inner join @tbl2 as b
on a.id = b.id
group by val
having COUNT(val) = (select COUNT(id) from @tbl1)
February 12, 2013 at 5:31 am
p.panneerselvam (2/12/2013)
...
February 12, 2013 at 5:06 am
Heh... you think this is bad, take a look at one of my databases below LOLOLOLOL 🙂
February 12, 2013 at 4:55 am
Is there a clustered index on the table? If so, which columns does it reference?
oops just saw the last line of your post. Why no set your ID column as...
February 11, 2013 at 5:48 pm
Because I can only perform FULL backups to the NAS from one sql server per day and the offsite backup collection is on Thursday morning, I really need a fresh...
February 11, 2013 at 2:31 am
As requested here is the complete sproc:
CREATE PROCEDURE [dbo].[usp_GenerateKeys]
@SourceTable VARCHAR(50)
AS
BEGIN
SET NOCOUNT ON
DECLARE @sql NVARCHAR(MAX)
DECLARE @MSG NVARCHAR(500)
-- Get source table unique reference
IF EXISTS (SELECT 1 FROM sys.tables WHERE name = 'FieldMappings')
DROP...
February 8, 2013 at 2:56 am
SSIS has PIVOT transformation component for this kind of thing.
Alternatively you can use a SQL task component and use the T-SQL PIVOT command to transpose your table.
February 7, 2013 at 10:32 am
replace EXEC with either SELECT or PRINT, e.g. PRINT( @sql)
February 7, 2013 at 9:07 am
Fair enough. I think I'm trying to be too clever when I should be concentrating on getting the rest of the project done first! This part works but everytime I...
February 7, 2013 at 5:44 am
vinu512 (2/7/2013)
So if the incoming data doesn't have a forename then what do you insert into the table??..Do you Insert NULL??....
Yes that's right, where I define the variables I have...
February 7, 2013 at 5:42 am
Not sure if I explained this very well so I will try again!
I have a table with the following columns:
TABLE NAME = Phonetic_Keys
RecordID, PhoneticSurname, PhoneticForename, PhoneticStreet, PostCode, Premise
This table will...
February 6, 2013 at 4:58 am
Thanks for your input Sean. I really appreciate it.
As mentioned, this is part one part of a record linkage exercise I'm working on. The way it works is like this:
I...
February 5, 2013 at 9:17 am
Viewing 15 posts - 346 through 360 (of 616 total)