Viewing 15 posts - 16 through 30 (of 32 total)
I believe you have answered yourself, i assure you that SSIS will be the fastest way to get your data.
The problem with linkedservers in SQl 2005 is that it first...
July 21, 2009 at 12:07 am
Use this SSRS function:
RowNumber(scope)
Parameters
scope
(String) The name of a dataset, data region, or group, or null (Nothing in Visual Basic), that specifies the outermost context, usually the report...
July 17, 2009 at 6:21 am
You can also use bcp queryout to solve your purpose
July 17, 2009 at 6:08 am
Not clear buddy you want to add a row number or a page number??
July 17, 2009 at 5:54 am
If your reporting needs are not frequent, and as you say that you have frequent updates and inserts i will suggest you to closly monitor performance related impact as speeding...
July 16, 2009 at 4:02 am
You can Use this directly on your table:
IF OBJECT_ID('tempdb..#temp') IS NOT NULL
DROP TABLE #temp
CREATE TABLE #temp (val nvarchar(20))
INSERT INTO #temp VALUES ('1,234.94')
,('1,134.34')
,('1,11,134.69')
,('15,456.30')
SELECT CAST(REPLACE(val,',','') AS numeric(18,2))
FROM #temp
July 16, 2009 at 1:43 am
--Hope this will solve your problem:
DECLARE @text varchar(50) = 'Good Morning SQL'
SET @text = @text+' '
DECLARE @Spacepos int = charindex(' ',@text)
DECLARE @Len int = LEN(@text)+1
DECLARE @Oldval int = 0
--Create a...
July 16, 2009 at 1:29 am
Firstly Use some mechanism to traverse through each row one by one you may need to order your records while inserting (add a identity column) or use a cursor, now...
July 15, 2009 at 3:44 am
You can use dynamic sql to solve your problem, take all tables u want to update in a temp table and put your dynamic sql query in a loop changing...
July 15, 2009 at 3:32 am
If on same server nothing wrong You are just missing fully qualified name. In your case schema 🙂
something like master.dbo.employee
May 26, 2009 at 4:34 am
Try Zipping your file using some zip utility WINZIP etc.. you will need to use commandline utility of winzip for such a large file. WZZIP...
Secondly if its a simple bak...
May 7, 2008 at 12:16 am
Its not the transaction log truncation when you do any transactions they first go to log file and hence its size grows when a particular transaction commits it frees the...
May 6, 2008 at 12:25 am
Backup log MYDATABASE with truncate_only
DBCC Shrinkfile ('Log',10)
In DBCC 'Log' is the logical file name of log file generally "Log"
and 10 is in MB.(change it acc to your needs)
sometimes files use...
May 5, 2008 at 11:54 pm
Hi Everyone thankyou very much for your time.
I finally found out the problem, somehow my mirror server name was missing USERDNSDOMAIN and hence a connection was not getting established between...
May 5, 2008 at 11:44 pm
I am not sure that you can use EmptyFile option on Primary filegroup.
April 24, 2008 at 1:47 pm
Viewing 15 posts - 16 through 30 (of 32 total)