Viewing 15 posts - 16 through 30 (of 91 total)
check if you are looking for this..
USE TEMPDB
GO
declare @hash varbinary (255)
CREATE TABLE tempdb..h (id_num int, hash varbinary (255))
SET @hash = pwdencrypt('123') -- encryption
INSERT INTO tempdb..h (id_num,hash) VALUES (1,@hash)
SET @hash =...
December 3, 2009 at 9:54 am
check if you are looking for this..
USE TEMPDB
GO
declare @hash varbinary (255)
CREATE TABLE tempdb..h (id_num int, hash varbinary (255))
SET @hash = pwdencrypt('123') -- encryption
INSERT INTO tempdb..h (id_num,hash) VALUES (1,@hash)
SET @hash =...
December 3, 2009 at 9:53 am
check if you are looking for this..
USE TEMPDB
GO
declare @hash varbinary (255)
CREATE TABLE tempdb..h (id_num int, hash varbinary (255))
SET @hash = pwdencrypt('123') -- encryption
INSERT INTO tempdb..h (id_num,hash) VALUES (1,@hash)
SET @hash =...
December 3, 2009 at 9:53 am
Redundant Post...
why dont you continue in the old post...same query again..
http://qa.sqlservercentral.com/Forums/Topic826786-338-1.aspx
December 1, 2009 at 10:16 am
try this..
BULK INSERT testtbl
FROM 'f:\orders\lineitem.txt'
WITH
(
FIELDTERMINATOR =' |',
...
November 30, 2009 at 9:29 am
Was busy in one production issue. sorry for the late reply. Thanks all for replies...
November 25, 2009 at 2:23 pm
Thanks Jeff for your clue on xp_DirTree..It really helps....
November 24, 2009 at 8:55 am
Instead, You can use bulk insert to load files, if you are not comfortable with SSIS.
Check if the below code helps you.
Create procedure usp_ImportMultipleFiles @filepath varchar(500),
@pattern varchar(100), @TableName varchar(128)
as
set...
November 23, 2009 at 2:25 pm
Two things..
1) DMV Not working...
I have copied and pasted your code in Query window and it executed successfully. may you...
November 20, 2009 at 2:17 pm
For getting faster response, please post readily consumable sample script.
for now i have created a table with dummy data and calling the calculated price column at multiple places in the...
November 19, 2009 at 8:23 am
Alter the trigger to work only for Insert (remove update).
Change for Insert, update to for Insert.
You create another trigger for update if you want any other transaction to happen on...
November 18, 2009 at 10:38 am
Instead...
to make the code work with varchar variable..
you can change the code
from
EXECUTE sp_executesql @SSQL
to
Exec(@SSQL)
--Jus
November 18, 2009 at 9:29 am
check if this works for you.........changed your code a bit to make it work..
drop table languages
drop table daytime
create table languages (id int, name varchar(20))
insert into languages select...
November 17, 2009 at 8:07 am
Can you post sample data along with...
For testing, I have tried with following variables and works fine.
declare @o_bal decimal(10,3)
declare @Outstanding_Bal decimal(10,3)
declare @P_Amount decimal(10,3)
set @o_bal=10
set @Outstanding_Bal = 5
set @P_Amount = 5.5
SELECT...
November 13, 2009 at 2:08 pm
Viewing 15 posts - 16 through 30 (of 91 total)