Viewing 15 posts - 196 through 210 (of 323 total)
Please check the latest MDAC installed in your machine if exists, then better install SQL Server client tools once again.
October 21, 2008 at 4:05 am
Try the following way:
INSERT
INTO OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=C:\DOWNLOADS\testing.xls;',
'SELECT Name, ID FROM [Sheet1$]'
)
SELECT top 10 [Name], Id FROM dbo.sysobjects with (nolock)
GO
For More Information navigate to URL: http://www.mssqltips.com/tip.asp?tip=1202
create one sp...
October 21, 2008 at 3:17 am
use inner join to get exact result.
October 21, 2008 at 12:55 am
Use Microsoft SQL Server Database Publishing Wizard, this tool may solve your problem.
Check the URL: http://www.microsoft.com/downloads/details.aspx?FamilyID=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en
October 21, 2008 at 12:53 am
User DTS, to transfer the .txt file data into SQL Server.
October 21, 2008 at 12:46 am
get the column name from this INFORMATION_SCHEMA.COLUMNS
October 16, 2008 at 4:11 am
Use Import & Export wizard you can transfer the NWind.mdb data into SQL Server.
October 16, 2008 at 4:08 am
Use shared datasource for all reports. For better organizing.
October 15, 2008 at 5:22 am
use sp_who2 and dbcc commands, to know the issue.
October 15, 2008 at 5:21 am
Code is working fine. No need for go global temp. table.
October 15, 2008 at 4:02 am
Very useful artical.
October 15, 2008 at 3:55 am
use the following way:
selectcaseIndex_Code
when'Default'then'Default123'
when'Int'then'International'
when'Bnk'then'BankDep'
when'Inv'then'Investment'
elseIndex_Code
end
fromTableTest
October 15, 2008 at 3:52 am
use sp_addlinkedserver command, for more information, see SQL BOL
October 15, 2008 at 2:45 am
Another approach, use the following:
createprocedure
(
@packageNamevarchar (100)
)
as
begin
Select ToEmailID
FROM dbo.Table1
WHERE PackageName = @packageName
end
go
exec @packageName= 'package1'
go
October 15, 2008 at 2:39 am
Viewing 15 posts - 196 through 210 (of 323 total)