Viewing 15 posts - 1,306 through 1,320 (of 1,923 total)
Use it like this:
SELECT SERVERPROPERTY('ProductLevel') as SPVersion
July 26, 2010 at 4:41 am
You can use SERVERPROPERTY function to get the details of SP..
July 26, 2010 at 4:39 am
I cant think of anyway apart from back-ups.. as u said no back-ups and u dint open an explicit transaction, then i'm afraid your data is lost..
July 26, 2010 at 4:29 am
vijay.s (7/26/2010)
BCP is only used for bulk loading the database...[/url]
Vijay, are u sure apart from "Loading", nothing can be done through BCP ? 🙂
There is a switch called "queryout"...
July 26, 2010 at 2:23 am
BCP is faster than linked server...
1. First BCP out data into csv file from Server1
2. copy the csv file into server2
3. Then BCP in the same file into Server...
July 26, 2010 at 12:31 am
Put both the queries u have in a CROSS JOIN... match using proveedor.nombre.. this will give u what u want.. if u cant yet figure out how, drop a reply...
July 24, 2010 at 4:30 am
gah (7/24/2010)
Just an idea....but I would have expected that you will probably have more students than subjects...would it be better to present the results this way?
MathsScienceEnglish
Priyan30450
Zid3600
Kareena50400
Exactly my point as well.....
July 24, 2010 at 4:28 am
I am bit unclear on the question. buddy.... can u please show some visual samples of your data??
A shot in the dark, u may use CROSS JOIN to displace results...
July 23, 2010 at 8:16 pm
Will there be only 3 students or u have got more students ??
July 23, 2010 at 7:02 am
due to the fact that u used NVARCHAR... NVARCHAR is double length as that of VARCHAR... try changing it to VARCHAR and u will get ur result..
July 23, 2010 at 6:44 am
Hello Mahesh, is it some sort of Homework u are working on? You sorted out that it is "PIVOT"ing.. so you would have attempted some code right? can you post...
July 23, 2010 at 4:08 am
As in
declare @ch1 Nchar
declare @ch2 Nchar
select @ch1=N'?'
select @ch2=N'?'
IF(@ch1=@ch2)
print 'we are same'
else
print 'We are different'
Hope this helps
July 23, 2010 at 2:23 am
Instead of CHAR try using NCHAR..
July 23, 2010 at 2:21 am
honey47 (7/22/2010)
hi,But is giving error
Incorrect syntax near '('.
cant we use any funciton in PIVOT clause ,,or is there any better option
No we can not.. FOR clause if used to...
July 22, 2010 at 11:25 pm
gorenak (7/22/2010)
Whyselect LEN(SUBSTRING('VOLTAFLEX/VOLTAREN EMULGEL IZTISKALEC TUBE', 1, 35))
select LEN(SUBSTRING('VOLTAFLEX GLUCOSAMINE 625MG 60TBL. SI', 1, 35))
this return different number 34 and 35 in MSSQL 2008?
This is due to the 35th character...
July 22, 2010 at 2:23 am
Viewing 15 posts - 1,306 through 1,320 (of 1,923 total)